Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 108.3 kB / 16.38 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 186.7 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2975, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow): time 1.18/1.477, allocations: 396.5 MB / 1.172 GB, free: 94.53 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03258/1.51, allocations: 27.04 MB / 1.198 GB, free: 94.39 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/1.514, allocations: 121.2 kB / 1.199 GB, free: 94.39 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0045/1.518, allocations: 1.891 MB / 1.2 GB, free: 94.37 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/1.532, allocations: 5.007 MB / 1.205 GB, free: 94.2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00844/1.541, allocations: 3.331 MB / 1.209 GB, free: 94.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.09088/1.632, allocations: 112.8 MB / 1.319 GB, free: 20.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1016/1.733, allocations: 75.49 MB / 1.392 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06963/1.803, allocations: 40.89 MB / 1.432 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06195/1.865, allocations: 35.38 MB / 1.467 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.02098/1.886, allocations: 6.254 MB / 1.473 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03618/1.922, allocations: 10.28 MB / 1.483 GB, free: 1.703 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.02946/1.952, allocations: 15.6 MB / 1.498 GB, free: 2.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.06676/2.018, allocations: 27.35 MB / 1.525 GB, free: 7.125 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 1.258/3.277, allocations: 96.92 MB / 1.62 GB, free: 190.3 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/3.277, allocations: 3.969 kB / 1.62 GB, free: 190.3 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.154e-06/3.277, allocations: 1.406 kB / 1.62 GB, free: 190.3 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.003383/3.28, allocations: 0 / 1.62 GB, free: 190.3 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6759 * Number of variables: 6759 Notification: Performance of Generate backend data structure: time 0.2173/3.497, allocations: 50.51 MB / 1.669 GB, free: 169.2 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/3.498, allocations: 7.938 kB / 1.669 GB, free: 169.2 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06076/3.558, allocations: 8.07 MB / 1.677 GB, free: 165.8 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1378/3.696, allocations: 60.86 MB / 1.736 GB, free: 125.6 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002308/3.698, allocations: 1.966 MB / 1.738 GB, free: 123.6 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01934/3.718, allocations: 2.671 MB / 1.741 GB, free: 120.9 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1698/3.888, allocations: 59.6 MB / 1.799 GB, free: 60.99 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001681/3.889, allocations: 66.11 kB / 1.799 GB, free: 60.93 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01562/3.905, allocations: 1.071 MB / 1.8 GB, free: 59.88 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/3.906, allocations: 1.196 MB / 1.801 GB, free: 58.69 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1228/4.029, allocations: 60.46 MB / 1.86 GB, free: 14.29 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8829/4.912, allocations: 216.2 MB / 2.071 GB, free: 438.6 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04588/4.958, allocations: 32.5 MB / 2.103 GB, free: 434.5 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03636/4.994, allocations: 23.7 MB / 2.126 GB, free: 427.3 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003073/4.997, allocations: 1.238 MB / 2.127 GB, free: 426.2 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03544/5.033, allocations: 20.02 MB / 2.147 GB, free: 420.6 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0229/5.056, allocations: 5.444 MB / 2.152 GB, free: 419.7 MB / 1.264 GB Notification: Performance of pre-optimization done (n=1527): time 4.303e-05/5.056, allocations: 0 / 2.152 GB, free: 419.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=1551): time 0.2071/5.263, allocations: 98.71 MB / 2.249 GB, free: 348.3 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/5.263, allocations: 274.2 kB / 2.249 GB, free: 348.1 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0744/5.337, allocations: 29.67 MB / 2.278 GB, free: 318.6 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.00604/5.344, allocations: 345.7 kB / 2.278 GB, free: 318.2 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.02874/5.372, allocations: 15.24 MB / 2.293 GB, free: 303.3 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.009342/5.382, allocations: 5.593 MB / 2.299 GB, free: 297.8 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02014/5.402, allocations: 4.02 MB / 2.303 GB, free: 293.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/5.402, allocations: 301.1 kB / 2.303 GB, free: 293.4 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02588/5.428, allocations: 17.42 MB / 2.32 GB, free: 276 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03495/5.463, allocations: 22.5 MB / 2.342 GB, free: 252 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06143/5.524, allocations: 41.42 MB / 2.382 GB, free: 209.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-05/5.524, allocations: 24 kB / 2.382 GB, free: 209.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=2051) (initialization): time 0.08343/5.608, allocations: 42.97 MB / 2.424 GB, free: 167.2 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/5.608, allocations: 104.2 kB / 2.424 GB, free: 167.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/5.608, allocations: 80 kB / 2.424 GB, free: 167 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/5.611, allocations: 1.295 MB / 2.426 GB, free: 165.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0228/5.634, allocations: 4.445 MB / 2.43 GB, free: 161.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/5.647, allocations: 15.41 MB / 2.445 GB, free: 145.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02679/5.674, allocations: 1.626 MB / 2.447 GB, free: 144.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006592/5.681, allocations: 0.7729 MB / 2.447 GB, free: 143.6 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06095/5.742, allocations: 39.08 MB / 2.486 GB, free: 104.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03152/5.773, allocations: 22.49 MB / 2.508 GB, free: 80.39 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06409/5.837, allocations: 41.43 MB / 2.548 GB, free: 37.89 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001602/5.838, allocations: 24 kB / 2.548 GB, free: 37.87 MB / 1.264 GB Notification: Performance of matching and sorting (n=2051) (initialization_lambda0): time 0.6016/6.439, allocations: 42.99 MB / 2.59 GB, free: 471.6 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/6.439, allocations: 101.4 kB / 2.59 GB, free: 471.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000216/6.44, allocations: 81.25 kB / 2.59 GB, free: 471.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/6.443, allocations: 1.286 MB / 2.591 GB, free: 471.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02618/6.469, allocations: 4.432 MB / 2.596 GB, free: 471.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/6.487, allocations: 14.82 MB / 2.61 GB, free: 468.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02979/6.517, allocations: 1.76 MB / 2.612 GB, free: 468.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007479/6.524, allocations: 0.7673 MB / 2.613 GB, free: 468.5 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1969): * Single equations (assignments): 1964 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,48,100.0%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0107/6.535, allocations: 1.221 MB / 2.614 GB, free: 468.2 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01275/6.548, allocations: 2.321 MB / 2.616 GB, free: 468.2 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1029/6.65, allocations: 41.38 MB / 2.657 GB, free: 456.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07103/6.722, allocations: 32.58 MB / 2.688 GB, free: 446.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.1e-05/6.722, allocations: 0 / 2.688 GB, free: 446.2 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02532/6.747, allocations: 7.584 MB / 2.696 GB, free: 444.2 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0163/6.763, allocations: 435.7 kB / 2.696 GB, free: 443.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02669/6.79, allocations: 1.329 MB / 2.698 GB, free: 443.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006826/6.797, allocations: 0.8838 MB / 2.698 GB, free: 443.6 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0893/6.886, allocations: 39.62 MB / 2.737 GB, free: 420.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1057/6.992, allocations: 61.66 MB / 2.797 GB, free: 361 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0255/7.018, allocations: 17.81 MB / 2.815 GB, free: 343.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.05766/7.075, allocations: 21.94 MB / 2.836 GB, free: 321.3 MB / 1.264 GB Notification: Performance of Backend: time 1.282e-06/7.075, allocations: 0 / 2.836 GB, free: 321.3 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.1041/7.179, allocations: 45.89 MB / 2.881 GB, free: 275.7 MB / 1.264 GB Notification: Performance of SimCode: time 0.2678/7.447, allocations: 96.95 MB / 2.976 GB, free: 180.6 MB / 1.264 GB Notification: Performance of Templates: time 2.441/9.888, allocations: 0.7815 GB / 3.757 GB, free: 443.6 MB / 1.264 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe 2>&1)