Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00187/0.00187, allocations: 176.8 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.598/0.598, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.167/1.167, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008597/0.0008596, allocations: 103 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.212e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.844/2.975, allocations: 1.858 GB / 2.491 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/2.975, allocations: 79.95 kB / 2.491 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.548/5.524, allocations: 1.01 GB / 3.501 GB, free: 94.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.74e-05/5.524, allocations: 35.14 kB / 3.501 GB, free: 94.65 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.004602/5.528, allocations: 1.829 MB / 3.503 GB, free: 93.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/5.528, allocations: 10.98 kB / 3.503 GB, free: 93.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/5.531, allocations: 0.5874 MB / 3.503 GB, free: 93.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/5.534, allocations: 1.084 MB / 3.504 GB, free: 93.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005519/5.534, allocations: 175.9 kB / 3.504 GB, free: 93.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/5.534, allocations: 50.59 kB / 3.505 GB, free: 93.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/5.536, allocations: 1.018 MB / 3.506 GB, free: 93.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/5.537, allocations: 1.044 MB / 3.507 GB, free: 93.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/5.537, allocations: 3.938 kB / 3.507 GB, free: 93.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/5.537, allocations: 0 / 3.507 GB, free: 93.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/5.537, allocations: 46.22 kB / 3.507 GB, free: 93.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005506/5.543, allocations: 4.105 MB / 3.511 GB, free: 91.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/5.544, allocations: 0.7195 MB / 3.511 GB, free: 91.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/5.544, allocations: 0.5041 MB / 3.512 GB, free: 91.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008176/5.545, allocations: 0.6177 MB / 3.512 GB, free: 91.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/5.545, allocations: 41.16 kB / 3.512 GB, free: 91.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.405e-06/5.545, allocations: 2.969 kB / 3.512 GB, free: 91.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002183/5.547, allocations: 1.196 MB / 3.514 GB, free: 91.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.641e-05/5.547, allocations: 58.81 kB / 3.514 GB, free: 91.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/5.548, allocations: 0.5637 MB / 3.514 GB, free: 91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/5.548, allocations: 28.86 kB / 3.514 GB, free: 90.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/5.548, allocations: 331.6 kB / 3.515 GB, free: 90.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/5.548, allocations: 245.1 kB / 3.515 GB, free: 90.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/5.548, allocations: 3.031 kB / 3.515 GB, free: 90.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.298e-05/5.548, allocations: 339.3 kB / 3.515 GB, free: 90.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/5.549, allocations: 410.7 kB / 3.516 GB, free: 90.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/5.549, allocations: 0.5361 MB / 3.516 GB, free: 90.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009837/5.55, allocations: 0.6207 MB / 3.517 GB, free: 90.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.55, allocations: 0 / 3.517 GB, free: 90.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001785/5.552, allocations: 1.22 MB / 3.518 GB, free: 90.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/5.552, allocations: 454.5 kB / 3.518 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/5.552, allocations: 2.688 kB / 3.518 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/5.552, allocations: 6.875 kB / 3.518 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/5.554, allocations: 287.2 kB / 3.519 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/5.554, allocations: 1.213 MB / 3.52 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/5.555, allocations: 180.3 kB / 3.52 GB, free: 88.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/5.556, allocations: 39.62 kB / 3.52 GB, free: 88.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-06/5.556, allocations: 3.75 kB / 3.52 GB, free: 88.42 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001677/5.557, allocations: 1.104 MB / 3.521 GB, free: 88.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/5.557, allocations: 0 / 3.521 GB, free: 88.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/5.557, allocations: 6.844 kB / 3.521 GB, free: 88.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/5.558, allocations: 264.8 kB / 3.521 GB, free: 88.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/5.559, allocations: 6.516 kB / 3.521 GB, free: 88.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/5.56, allocations: 181.1 kB / 3.521 GB, free: 88.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/5.56, allocations: 40.12 kB / 3.522 GB, free: 88.38 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.0001824/5.56, allocations: 122.7 kB / 3.522 GB, free: 88.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/5.56, allocations: 91.34 kB / 3.522 GB, free: 88.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/5.562, allocations: 1.275 MB / 3.523 GB, free: 88.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/5.562, allocations: 8.844 kB / 3.523 GB, free: 88.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/5.562, allocations: 0 / 3.523 GB, free: 88.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/5.562, allocations: 5.016 kB / 3.523 GB, free: 88.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/5.566, allocations: 2.645 MB / 3.526 GB, free: 87.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/5.566, allocations: 3.531 kB / 3.526 GB, free: 87.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/5.567, allocations: 267.5 kB / 3.526 GB, free: 87.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/5.567, allocations: 11.5 kB / 3.526 GB, free: 87.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/5.567, allocations: 14.91 kB / 3.526 GB, free: 87.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003059/5.567, allocations: 1.199 MB / 3.527 GB, free: 86.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/5.567, allocations: 3.781 kB / 3.527 GB, free: 86.55 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001688/5.569, allocations: 1.539 MB / 3.529 GB, free: 85.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/5.569, allocations: 316.7 kB / 3.529 GB, free: 85.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/5.57, allocations: 7.656 kB / 3.529 GB, free: 85.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/5.571, allocations: 166.1 kB / 3.529 GB, free: 85.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/5.571, allocations: 52.59 kB / 3.529 GB, free: 85.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/5.571, allocations: 42.44 kB / 3.529 GB, free: 85.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0003819/5.571, allocations: 444.5 kB / 3.53 GB, free: 85.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001457/5.573, allocations: 0.6853 MB / 3.53 GB, free: 85.65 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.00273/5.576, allocations: 2.621 MB / 3.533 GB, free: 84.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002567/5.578, allocations: 1.616 MB / 3.534 GB, free: 84.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/5.578, allocations: 4.938 kB / 3.534 GB, free: 84.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/5.579, allocations: 0.5374 MB / 3.535 GB, free: 84.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/5.581, allocations: 415.8 kB / 3.535 GB, free: 84.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/5.595, allocations: 2.428 MB / 3.538 GB, free: 84.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009116/5.596, allocations: 1.238 MB / 3.539 GB, free: 83.5 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/5.596, allocations: 0 / 3.539 GB, free: 83.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04972/5.645, allocations: 38.37 MB / 3.576 GB, free: 63.02 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)