Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") [: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/Buildings 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.4 MB / 139.7 MB, free: 15.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00148/0.00148, allocations: 167.3 kB / 171.6 MB, free: 1.996 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.785/1.785, allocations: 170.5 MB / 373.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 118.4 kB / 444.4 MB, free: 9.359 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6366/0.6366, allocations: 73.41 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.194/6.831, allocations: 2.411 GB / 3.077 GB, free: 174 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/6.831, allocations: 85.48 kB / 3.077 GB, free: 174 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.754/15.59, allocations: 2.199 GB / 5.276 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.001395/15.59, allocations: 127.9 kB / 5.276 GB, free: 3.309 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.02528/15.61, allocations: 5.194 MB / 5.281 GB, free: 14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/15.61, allocations: 12.03 kB / 5.281 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/15.62, allocations: 1.238 MB / 5.282 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02617/15.65, allocations: 7.395 MB / 5.29 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/15.65, allocations: 120 kB / 5.29 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/15.65, allocations: 243.9 kB / 5.29 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0146/15.67, allocations: 4.474 MB / 5.294 GB, free: 472 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4411/16.11, allocations: 4.932 MB / 5.299 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/16.11, allocations: 16.91 kB / 5.299 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006371/16.11, allocations: 3.719 kB / 5.299 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/16.11, allocations: 200.5 kB / 5.299 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03826/16.15, allocations: 23.45 MB / 5.322 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/16.15, allocations: 3.124 MB / 5.325 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/16.16, allocations: 1.784 MB / 5.327 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007503/16.16, allocations: 0.5645 MB / 5.328 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002782/16.16, allocations: 1.947 MB / 5.329 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=260): time 6.822e-06/16.16, allocations: 0 / 5.329 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=268): time 0.02932/16.19, allocations: 11.57 MB / 5.341 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/16.19, allocations: 457.4 kB / 5.341 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005968/16.19, allocations: 3.441 MB / 5.345 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008965/16.2, allocations: 33.48 kB / 5.345 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001806/16.2, allocations: 1.464 MB / 5.346 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002166/16.2, allocations: 0.892 MB / 5.347 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/16.2, allocations: 2.438 kB / 5.347 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002269/16.2, allocations: 421.7 kB / 5.347 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/16.2, allocations: 1.394 MB / 5.349 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/16.2, allocations: 2.208 MB / 5.351 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/16.21, allocations: 1.999 MB / 5.353 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/16.21, allocations: 2.844 kB / 5.353 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.007575/16.22, allocations: 4.18 MB / 5.357 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001387/16.22, allocations: 6.658 MB / 5.363 GB, free: 97.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/16.22, allocations: 18.28 kB / 5.363 GB, free: 97.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/16.22, allocations: 93.48 kB / 5.363 GB, free: 97.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/16.22, allocations: 0.6927 MB / 5.364 GB, free: 97.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/16.22, allocations: 2.464 MB / 5.367 GB, free: 95.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/16.23, allocations: 341.9 kB / 5.367 GB, free: 95.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000641/16.23, allocations: 116.5 kB / 5.367 GB, free: 95.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/16.23, allocations: 2.844 kB / 5.367 GB, free: 95.46 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00828/16.24, allocations: 3.735 MB / 5.371 GB, free: 95.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.624e-05/16.24, allocations: 16.75 kB / 5.371 GB, free: 95.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/16.24, allocations: 105 kB / 5.371 GB, free: 95.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/16.24, allocations: 0.6109 MB / 5.371 GB, free: 95.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/16.24, allocations: 1.837 MB / 5.373 GB, free: 93.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/16.25, allocations: 323.5 kB / 5.373 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006193/16.25, allocations: 117.6 kB / 5.374 GB, free: 93.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,x_pTphi.i_w,x_pTphi.i_nw,x_pTphi.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 334 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001454/16.25, allocations: 280 kB / 5.374 GB, free: 93.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/16.25, allocations: 406.4 kB / 5.374 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009011/16.26, allocations: 4.197 MB / 5.378 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/16.26, allocations: 27.94 kB / 5.378 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/16.26, allocations: 0 / 5.378 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006054/16.27, allocations: 3.449 MB / 5.382 GB, free: 92.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/16.29, allocations: 9.49 MB / 5.391 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/16.29, allocations: 3.688 kB / 5.391 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003696/16.29, allocations: 0.6167 MB / 5.392 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/16.29, allocations: 246.4 kB / 5.392 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/16.29, allocations: 56.41 kB / 5.392 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004341/16.3, allocations: 5.495 MB / 5.397 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/16.3, allocations: 8.094 kB / 5.397 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01236/16.31, allocations: 6.592 MB / 5.404 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005812/16.32, allocations: 1.025 MB / 5.405 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/16.32, allocations: 30.84 kB / 5.405 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005642/16.32, allocations: 344.2 kB / 5.405 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/16.33, allocations: 142.7 kB / 5.405 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005723/16.33, allocations: 108.1 kB / 5.405 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.007628/16.33, allocations: 2.703 MB / 5.408 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01621/16.35, allocations: 2.374 MB / 5.41 GB, free: 85.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 20 (hex.temSen_1.T,hex.temSen_2.T,hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent) * Number of discrete states: 10 (mAirGai.last,mAirGai.nextEvent,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.last,mWatGai.nextEvent,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006796/16.36, allocations: 3.003 MB / 5.413 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01339/16.37, allocations: 5.947 MB / 5.419 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/16.37, allocations: 5.031 kB / 5.419 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005297/16.38, allocations: 2.079 MB / 5.421 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01594/16.39, allocations: 2.414 MB / 5.423 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/16.43, allocations: 10.22 MB / 5.433 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00863/16.43, allocations: 4.298 MB / 5.438 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.893e-06/16.43, allocations: 0 / 5.438 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.2208/16.66, allocations: 123.2 MB / 5.558 GB, free: 36.86 MB / 0.6823 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)