Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.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/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/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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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.00317/0.00317, allocations: 180.6 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6849/0.6849, allocations: 130.6 MB / 138.5 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.744/1.744, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.001144/0.001143, allocations: 100.9 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.187e-06, allocations: 1.969 kB / 0.5479 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.052/5.264, allocations: 1.858 GB / 2.485 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/5.265, allocations: 87.95 kB / 2.485 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.738/9.003, allocations: 1.01 GB / 3.495 GB, free: 17.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001702/9.003, allocations: 40.14 kB / 3.495 GB, free: 17.36 MB / 0.6823 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.007396/9.011, allocations: 1.822 MB / 3.497 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/9.011, allocations: 8.031 kB / 3.497 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003771/9.014, allocations: 0.5877 MB / 3.497 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/9.018, allocations: 1.086 MB / 3.498 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/9.019, allocations: 185.9 kB / 3.499 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/9.019, allocations: 51.94 kB / 3.499 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002117/9.021, allocations: 1.008 MB / 3.5 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/9.024, allocations: 1.056 MB / 3.501 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/9.024, allocations: 0 / 3.501 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/9.024, allocations: 0 / 3.501 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/9.024, allocations: 41.98 kB / 3.501 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00803/9.032, allocations: 4.107 MB / 3.505 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/9.033, allocations: 0.7311 MB / 3.505 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/9.034, allocations: 0.4992 MB / 3.506 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/9.035, allocations: 0.6125 MB / 3.507 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/9.035, allocations: 55.2 kB / 3.507 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/9.035, allocations: 0 / 3.507 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.002697/9.037, allocations: 1.197 MB / 3.508 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/9.037, allocations: 60.06 kB / 3.508 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/9.038, allocations: 0.5552 MB / 3.508 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/9.039, allocations: 29.7 kB / 3.508 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/9.039, allocations: 328.3 kB / 3.509 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/9.039, allocations: 256.2 kB / 3.509 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/9.039, allocations: 3.938 kB / 3.509 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/9.039, allocations: 334 kB / 3.509 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/9.04, allocations: 405.4 kB / 3.51 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/9.04, allocations: 0.5348 MB / 3.51 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/9.041, allocations: 0.6198 MB / 3.511 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/9.041, allocations: 0 / 3.511 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002344/9.044, allocations: 1.217 MB / 3.512 GB, free: 15.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002046/9.044, allocations: 451.6 kB / 3.512 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/9.044, allocations: 0 / 3.512 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/9.044, allocations: 8 kB / 3.512 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/9.046, allocations: 291.6 kB / 3.513 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009457/9.047, allocations: 1.211 MB / 3.514 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/9.048, allocations: 187.4 kB / 3.514 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/9.049, allocations: 35.97 kB / 3.514 GB, free: 13.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/9.049, allocations: 4 kB / 3.514 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002258/9.051, allocations: 1.095 MB / 3.515 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/9.051, allocations: 7.938 kB / 3.515 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/9.051, allocations: 4 kB / 3.515 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/9.052, allocations: 263.8 kB / 3.515 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/9.052, allocations: 4 kB / 3.515 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/9.054, allocations: 191.4 kB / 3.516 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/9.054, allocations: 35.97 kB / 3.516 GB, free: 11.56 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.0002912/9.054, allocations: 128 kB / 3.516 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/9.055, allocations: 90.97 kB / 3.516 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/9.057, allocations: 1.282 MB / 3.517 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/9.058, allocations: 8 kB / 3.517 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/9.058, allocations: 0 / 3.517 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/9.058, allocations: 7.984 kB / 3.517 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/9.063, allocations: 2.634 MB / 3.52 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/9.063, allocations: 4.469 kB / 3.52 GB, free: 7.312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/9.065, allocations: 275.7 kB / 3.52 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.332e-05/9.065, allocations: 11.91 kB / 3.52 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.131e-05/9.065, allocations: 15.97 kB / 3.52 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007708/9.065, allocations: 1.207 MB / 3.521 GB, free: 5.762 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/9.065, allocations: 4 kB / 3.521 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002769/9.068, allocations: 1.532 MB / 3.523 GB, free: 4.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/9.069, allocations: 315.5 kB / 3.523 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/9.07, allocations: 4 kB / 3.523 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/9.071, allocations: 163.8 kB / 3.523 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/9.071, allocations: 56.33 kB / 3.523 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/9.072, allocations: 43.97 kB / 3.523 GB, free: 3.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0008664/9.072, allocations: 443.1 kB / 3.524 GB, free: 3.051 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003124/9.076, allocations: 0.6823 MB / 3.524 GB, free: 2.367 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.3925/9.468, allocations: 2.621 MB / 3.527 GB, free: 157.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003492/9.472, allocations: 1.608 MB / 3.528 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/9.472, allocations: 3.562 kB / 3.528 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/9.473, allocations: 0.5494 MB / 3.529 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/9.475, allocations: 412.9 kB / 3.529 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/9.49, allocations: 2.424 MB / 3.532 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/9.491, allocations: 1.239 MB / 3.533 GB, free: 156.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/9.491, allocations: 3.875 kB / 3.533 GB, free: 156.5 MB / 0.698 GB Notification: Performance of Templates: time 0.05923/9.55, allocations: 38.36 MB / 3.57 GB, free: 156 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)