Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") [: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.002184/0.002184, allocations: 183.9 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6042/0.6042, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.148/1.148, 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.000893/0.0008933, allocations: 98.81 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.462e-06, allocations: 0 / 0.5528 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.93/3.043, allocations: 2.15 GB / 2.784 GB, free: 73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/3.044, allocations: 79.95 kB / 2.784 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.281/12.32, allocations: 3.414 GB / 6.197 GB, free: 39.86 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003394/12.32, allocations: 115.8 kB / 6.197 GB, free: 39.84 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0171/12.34, allocations: 5.721 MB / 6.203 GB, free: 37.34 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/12.34, allocations: 9 kB / 6.203 GB, free: 37.34 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/12.35, allocations: 2.219 MB / 6.205 GB, free: 36.92 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/12.36, allocations: 4.3 MB / 6.209 GB, free: 36.05 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002749/12.37, allocations: 0.8473 MB / 6.21 GB, free: 35.95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006562/12.37, allocations: 208.1 kB / 6.21 GB, free: 35.95 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005656/12.37, allocations: 3.549 MB / 6.214 GB, free: 35.94 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/12.38, allocations: 3.77 MB / 6.218 GB, free: 35.57 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/12.38, allocations: 6.469 kB / 6.218 GB, free: 35.56 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/12.38, allocations: 6.25 kB / 6.218 GB, free: 35.56 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/12.38, allocations: 171.5 kB / 6.218 GB, free: 35.55 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/12.41, allocations: 19.35 MB / 6.237 GB, free: 26.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/12.41, allocations: 2.564 MB / 6.239 GB, free: 26.69 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/12.41, allocations: 1.427 MB / 6.241 GB, free: 26.67 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/12.41, allocations: 0.6954 MB / 6.241 GB, free: 25.99 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002186/12.41, allocations: 1.74 MB / 6.243 GB, free: 25.89 MB / 0.823 GB Notification: Performance of pre-optimization done (n=251): time 3.627e-06/12.41, allocations: 0 / 6.243 GB, free: 25.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.006224/12.42, allocations: 3.197 MB / 6.246 GB, free: 25.61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/12.42, allocations: 104 kB / 6.246 GB, free: 25.52 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003569/12.42, allocations: 2.464 MB / 6.249 GB, free: 25.21 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000372/12.42, allocations: 31.67 kB / 6.249 GB, free: 25.18 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009513/12.42, allocations: 1.219 MB / 6.25 GB, free: 24.54 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/12.43, allocations: 0.803 MB / 6.251 GB, free: 23.99 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/12.43, allocations: 0 / 6.251 GB, free: 23.99 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001346/12.43, allocations: 423.5 kB / 6.251 GB, free: 23.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/12.43, allocations: 1.343 MB / 6.252 GB, free: 23.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/12.43, allocations: 2.171 MB / 6.254 GB, free: 21.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/12.43, allocations: 1.698 MB / 6.256 GB, free: 21.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/12.43, allocations: 3.812 kB / 6.256 GB, free: 21.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.007112/12.44, allocations: 3.961 MB / 6.26 GB, free: 18.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007787/12.44, allocations: 6.064 MB / 6.266 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/12.44, allocations: 15.66 kB / 6.266 GB, free: 11.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/12.44, allocations: 35.94 kB / 6.266 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0063/12.45, allocations: 1.26 MB / 6.267 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/12.45, allocations: 6.058 MB / 6.273 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006288/12.46, allocations: 0.7812 MB / 6.274 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/12.46, allocations: 170.9 kB / 6.274 GB, free: 3.621 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/12.46, allocations: 4 kB / 6.274 GB, free: 3.617 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006144/12.46, allocations: 3.512 MB / 6.277 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/12.46, allocations: 12 kB / 6.277 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/12.46, allocations: 32 kB / 6.277 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005219/12.47, allocations: 1.167 MB / 6.279 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.569e-05/12.47, allocations: 38.03 kB / 6.279 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/12.47, allocations: 0.739 MB / 6.279 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003828/12.47, allocations: 166.8 kB / 6.28 GB, free: 14.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007475/12.48, allocations: 184.6 kB / 6.28 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009133/12.48, allocations: 391 kB / 6.28 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/12.48, allocations: 3.777 MB / 6.284 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/12.48, allocations: 28 kB / 6.284 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/12.48, allocations: 4 kB / 6.284 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/12.48, allocations: 14.2 kB / 6.284 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/12.5, allocations: 7.775 MB / 6.291 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/12.5, allocations: 11.91 kB / 6.291 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004775/12.5, allocations: 0.9511 MB / 6.292 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.496e-05/12.5, allocations: 15.56 kB / 6.292 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/12.5, allocations: 64.19 kB / 6.292 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3518/12.86, allocations: 5.979 MB / 6.298 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/12.86, allocations: 10.53 kB / 6.298 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007175/12.86, allocations: 4.125 MB / 6.302 GB, free: 102.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/12.87, allocations: 0.9604 MB / 6.303 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006689/12.87, allocations: 11.55 kB / 6.303 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004599/12.87, allocations: 0.6291 MB / 6.304 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/12.87, allocations: 176 kB / 6.304 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/12.87, allocations: 137.7 kB / 6.304 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.00229/12.87, allocations: 1.781 MB / 6.306 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006576/12.88, allocations: 2.652 MB / 6.308 GB, free: 102.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007614/12.89, allocations: 6.976 MB / 6.315 GB, free: 99.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.009885/12.9, allocations: 5.616 MB / 6.321 GB, free: 99.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/12.9, allocations: 0.6562 kB / 6.321 GB, free: 99.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/12.9, allocations: 1.784 MB / 6.323 GB, free: 99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007537/12.91, allocations: 1.45 MB / 6.324 GB, free: 98.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/12.92, allocations: 6.248 MB / 6.33 GB, free: 97.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003352/12.93, allocations: 2.946 MB / 6.333 GB, free: 96.7 MB / 0.8386 GB Notification: Performance of SimCode: time 9.52e-07/12.93, allocations: 0 / 6.333 GB, free: 96.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.1632/13.09, allocations: 124 MB / 6.454 GB, free: 90.46 MB / 0.8386 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)