Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 191.5 kB / 7.807 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4565/0.4565, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.4 MB / 342.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 98.69 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.733e-06, allocations: 0 / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3335, allocations: 72.3 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.415/3.749, allocations: 1.848 GB / 2.401 GB, free: 218.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/3.749, allocations: 87.62 kB / 2.401 GB, free: 218.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.401/7.15, allocations: 1.01 GB / 3.411 GB, free: 74.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001583/7.15, allocations: 32.84 kB / 3.411 GB, free: 74 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007268/7.157, allocations: 1.83 MB / 3.413 GB, free: 73.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/7.157, allocations: 11.25 kB / 3.413 GB, free: 73.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/7.161, allocations: 0.5938 MB / 3.414 GB, free: 73.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/7.165, allocations: 1.079 MB / 3.415 GB, free: 72.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006518/7.165, allocations: 183.2 kB / 3.415 GB, free: 72.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/7.166, allocations: 47.97 kB / 3.415 GB, free: 72.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002093/7.168, allocations: 1.014 MB / 3.416 GB, free: 72.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/7.17, allocations: 1.047 MB / 3.417 GB, free: 72.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/7.17, allocations: 0 / 3.417 GB, free: 72.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/7.17, allocations: 2 kB / 3.417 GB, free: 72.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/7.17, allocations: 47.84 kB / 3.417 GB, free: 72.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007214/7.177, allocations: 4.095 MB / 3.421 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/7.179, allocations: 0.7175 MB / 3.422 GB, free: 71.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/7.179, allocations: 0.5034 MB / 3.422 GB, free: 71.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009895/7.18, allocations: 0.6162 MB / 3.423 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/7.18, allocations: 41.12 kB / 3.423 GB, free: 70.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.526e-06/7.18, allocations: 3.344 kB / 3.423 GB, free: 70.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.002942/7.183, allocations: 1.2 MB / 3.424 GB, free: 70.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/7.183, allocations: 59.31 kB / 3.424 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/7.184, allocations: 0.5605 MB / 3.425 GB, free: 70.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/7.184, allocations: 33.61 kB / 3.425 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/7.184, allocations: 339.1 kB / 3.425 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/7.185, allocations: 248.1 kB / 3.425 GB, free: 69.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/7.185, allocations: 3.656 kB / 3.425 GB, free: 69.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/7.185, allocations: 330.5 kB / 3.425 GB, free: 69.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/7.185, allocations: 411 kB / 3.426 GB, free: 69.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/7.186, allocations: 0.5328 MB / 3.426 GB, free: 69.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/7.187, allocations: 0.6206 MB / 3.427 GB, free: 69.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/7.187, allocations: 4.688 kB / 3.427 GB, free: 69.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002645/7.19, allocations: 1.224 MB / 3.428 GB, free: 69.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/7.19, allocations: 447.8 kB / 3.429 GB, free: 68.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/7.19, allocations: 3.344 kB / 3.429 GB, free: 68.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/7.19, allocations: 10 kB / 3.429 GB, free: 68.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/7.192, allocations: 282.4 kB / 3.429 GB, free: 68.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006219/7.193, allocations: 1.209 MB / 3.43 GB, free: 67.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/7.194, allocations: 184.3 kB / 3.43 GB, free: 67.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/7.194, allocations: 44.3 kB / 3.43 GB, free: 67.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/7.194, allocations: 6.656 kB / 3.43 GB, free: 67.79 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001922/7.196, allocations: 1.099 MB / 3.431 GB, free: 67.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/7.196, allocations: 0 / 3.431 GB, free: 67.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/7.196, allocations: 3.812 kB / 3.431 GB, free: 67.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/7.198, allocations: 273.3 kB / 3.432 GB, free: 67.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/7.198, allocations: 3.906 kB / 3.432 GB, free: 67.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/7.199, allocations: 183 kB / 3.432 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/7.199, allocations: 41.77 kB / 3.432 GB, free: 67.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000291/7.199, allocations: 126 kB / 3.432 GB, free: 67.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/7.2, allocations: 93.09 kB / 3.432 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/7.202, allocations: 1.269 MB / 3.433 GB, free: 67.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/7.202, allocations: 11 kB / 3.433 GB, free: 67.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/7.202, allocations: 0 / 3.433 GB, free: 67.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/7.202, allocations: 7.438 kB / 3.433 GB, free: 67.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/7.206, allocations: 2.637 MB / 3.436 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/7.206, allocations: 3.781 kB / 3.436 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/7.208, allocations: 273 kB / 3.436 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/7.208, allocations: 7.031 kB / 3.436 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/7.208, allocations: 13.94 kB / 3.436 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004308/7.208, allocations: 1.21 MB / 3.437 GB, free: 65.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/7.208, allocations: 3.406 kB / 3.437 GB, free: 65.92 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002149/7.211, allocations: 1.536 MB / 3.439 GB, free: 65.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/7.211, allocations: 309.9 kB / 3.439 GB, free: 65.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/7.211, allocations: 10.39 kB / 3.439 GB, free: 65.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/7.213, allocations: 175 kB / 3.439 GB, free: 65.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/7.213, allocations: 52.95 kB / 3.439 GB, free: 65.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/7.213, allocations: 41.69 kB / 3.439 GB, free: 65.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005652/7.214, allocations: 445 kB / 3.44 GB, free: 65.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002602/7.216, allocations: 0.683 MB / 3.441 GB, free: 65.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004725/7.221, allocations: 2.634 MB / 3.443 GB, free: 64.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003244/7.224, allocations: 1.616 MB / 3.445 GB, free: 64.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/7.224, allocations: 3.562 kB / 3.445 GB, free: 64.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/7.225, allocations: 0.5406 MB / 3.445 GB, free: 64.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/7.227, allocations: 405.3 kB / 3.446 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/7.242, allocations: 2.423 MB / 3.448 GB, free: 63.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/7.244, allocations: 1.229 MB / 3.449 GB, free: 62.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.263e-06/7.244, allocations: 0 / 3.449 GB, free: 62.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.05786/7.301, allocations: 38.39 MB / 3.487 GB, free: 48.73 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)