Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001734/0.001734, allocations: 174.2 kB / 7.458 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5939/0.5939, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 102.7 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.821e-06, allocations: 0 / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.931/3.048, allocations: 1.858 GB / 2.491 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/3.048, allocations: 87.64 kB / 2.491 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.622/5.67, allocations: 1.01 GB / 3.501 GB, free: 97.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.679e-05/5.67, allocations: 26.17 kB / 3.501 GB, free: 97.35 MB / 0.698 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.004627/5.675, allocations: 1.831 MB / 3.503 GB, free: 96.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/5.675, allocations: 9.375 kB / 3.503 GB, free: 96.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/5.678, allocations: 0.5918 MB / 3.504 GB, free: 96.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/5.68, allocations: 1.08 MB / 3.505 GB, free: 96.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/5.68, allocations: 183.8 kB / 3.505 GB, free: 96.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/5.681, allocations: 53.61 kB / 3.505 GB, free: 96.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001348/5.682, allocations: 1.01 MB / 3.506 GB, free: 96.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/5.683, allocations: 1.044 MB / 3.507 GB, free: 96.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/5.683, allocations: 0 / 3.507 GB, free: 96.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/5.683, allocations: 0 / 3.507 GB, free: 96.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/5.683, allocations: 50.69 kB / 3.507 GB, free: 96.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/5.689, allocations: 4.103 MB / 3.511 GB, free: 94.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008717/5.69, allocations: 0.7277 MB / 3.512 GB, free: 94.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/5.69, allocations: 0.5074 MB / 3.512 GB, free: 94.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008137/5.691, allocations: 0.617 MB / 3.513 GB, free: 94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/5.691, allocations: 41.44 kB / 3.513 GB, free: 93.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 1.894e-06/5.691, allocations: 0 / 3.513 GB, free: 93.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002108/5.693, allocations: 1.194 MB / 3.514 GB, free: 93.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/5.693, allocations: 63.41 kB / 3.514 GB, free: 93.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/5.694, allocations: 0.5582 MB / 3.515 GB, free: 93.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/5.694, allocations: 25.7 kB / 3.515 GB, free: 93.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/5.694, allocations: 324.9 kB / 3.515 GB, free: 93.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/5.694, allocations: 258.5 kB / 3.515 GB, free: 93.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/5.694, allocations: 3.5 kB / 3.515 GB, free: 93.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/5.694, allocations: 334.6 kB / 3.516 GB, free: 92.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/5.695, allocations: 406.1 kB / 3.516 GB, free: 92.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/5.695, allocations: 0.5426 MB / 3.517 GB, free: 92.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/5.696, allocations: 0.6093 MB / 3.517 GB, free: 92.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/5.696, allocations: 3.938 kB / 3.517 GB, free: 92.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001788/5.698, allocations: 1.218 MB / 3.518 GB, free: 92.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/5.698, allocations: 458.9 kB / 3.519 GB, free: 92.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/5.698, allocations: 3.406 kB / 3.519 GB, free: 92.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/5.698, allocations: 7.203 kB / 3.519 GB, free: 92.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/5.7, allocations: 291.5 kB / 3.519 GB, free: 92.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004711/5.7, allocations: 1.214 MB / 3.52 GB, free: 91.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/5.701, allocations: 178 kB / 3.521 GB, free: 91.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/5.701, allocations: 43.72 kB / 3.521 GB, free: 91.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/5.701, allocations: 6.469 kB / 3.521 GB, free: 91.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001674/5.703, allocations: 1.102 MB / 3.522 GB, free: 91.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/5.703, allocations: 0 / 3.522 GB, free: 91.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/5.703, allocations: 3.812 kB / 3.522 GB, free: 91.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/5.704, allocations: 269.3 kB / 3.522 GB, free: 91.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/5.704, allocations: 10.36 kB / 3.522 GB, free: 91.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/5.705, allocations: 178.1 kB / 3.522 GB, free: 91.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/5.706, allocations: 38.09 kB / 3.522 GB, free: 91.07 MB / 0.698 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.0001659/5.706, allocations: 124.5 kB / 3.522 GB, free: 90.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/5.706, allocations: 94.34 kB / 3.522 GB, free: 90.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/5.708, allocations: 1.27 MB / 3.524 GB, free: 90.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/5.708, allocations: 6.906 kB / 3.524 GB, free: 90.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/5.708, allocations: 0 / 3.524 GB, free: 90.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/5.708, allocations: 3.703 kB / 3.524 GB, free: 90.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/5.711, allocations: 2.643 MB / 3.526 GB, free: 90.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/5.711, allocations: 3.844 kB / 3.526 GB, free: 90.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/5.713, allocations: 269.6 kB / 3.526 GB, free: 90.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/5.713, allocations: 13.25 kB / 3.526 GB, free: 90.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/5.713, allocations: 16.61 kB / 3.526 GB, free: 90.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003255/5.713, allocations: 1.2 MB / 3.528 GB, free: 89.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/5.713, allocations: 7 kB / 3.528 GB, free: 89.23 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00174/5.715, allocations: 1.535 MB / 3.529 GB, free: 88.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/5.715, allocations: 309 kB / 3.529 GB, free: 88.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/5.715, allocations: 6.203 kB / 3.529 GB, free: 88.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/5.717, allocations: 166.2 kB / 3.53 GB, free: 88.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/5.717, allocations: 62.16 kB / 3.53 GB, free: 88.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/5.717, allocations: 35.2 kB / 3.53 GB, free: 88.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000394/5.717, allocations: 442 kB / 3.53 GB, free: 88.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001808/5.719, allocations: 0.6943 MB / 3.531 GB, free: 88.34 MB / 0.698 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.003019/5.722, allocations: 2.622 MB / 3.533 GB, free: 87.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002541/5.725, allocations: 1.61 MB / 3.535 GB, free: 87.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/5.725, allocations: 1.062 kB / 3.535 GB, free: 87.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008334/5.726, allocations: 0.5407 MB / 3.535 GB, free: 87.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/5.727, allocations: 409.1 kB / 3.536 GB, free: 87.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/5.741, allocations: 2.43 MB / 3.538 GB, free: 86.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/5.742, allocations: 1.238 MB / 3.539 GB, free: 86.19 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/5.742, allocations: 0 / 3.539 GB, free: 86.19 MB / 0.698 GB Notification: Performance of Templates: time 0.04692/5.789, allocations: 38.38 MB / 3.577 GB, free: 64.44 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)