Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.599/1.599, allocations: 287.4 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 181.7 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 0.6304 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007064/0.0007065, allocations: 91.09 kB / 0.7438 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 12.42 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1743, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.6035/0.7778, allocations: 241.4 MB / 1.215 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02621/0.804, allocations: 19.81 MB / 1.234 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.8071, allocations: 75.56 kB / 1.234 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.8101, allocations: 0.8229 MB / 1.235 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.008728/0.8189, allocations: 2.952 MB / 1.238 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005966/0.8249, allocations: 1.884 MB / 1.24 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02325/0.8481, allocations: 19.26 MB / 1.259 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009237/0.8574, allocations: 6.219 MB / 1.265 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009563/0.867, allocations: 4.692 MB / 1.269 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008306/0.8753, allocations: 4.423 MB / 1.274 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001787/0.8772, allocations: 247.9 kB / 1.274 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008458/0.8857, allocations: 2.69 MB / 1.277 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.8885, allocations: 1.526 MB / 1.278 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.8916, allocations: 1.463 MB / 1.28 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.9043, allocations: 10.86 MB / 1.29 GB, free: 13.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9044, allocations: 4 kB / 1.29 GB, free: 13.42 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9044, allocations: 0 / 1.29 GB, free: 13.42 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003461/0.9047, allocations: 0 / 1.29 GB, free: 13.42 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: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.01599/0.9207, allocations: 6.404 MB / 1.296 GB, free: 6.918 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.9208, allocations: 8.031 kB / 1.296 GB, free: 6.91 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008722/0.9295, allocations: 1.413 MB / 1.298 GB, free: 5.488 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/0.9432, allocations: 6.303 MB / 1.304 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.9436, allocations: 357 kB / 1.304 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.9452, allocations: 491.7 kB / 1.305 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.9612, allocations: 6.85 MB / 1.311 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.9614, allocations: 4 kB / 1.311 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.9625, allocations: 188 kB / 1.312 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002373/0.9627, allocations: 220.9 kB / 1.312 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.975, allocations: 6.086 MB / 1.318 GB, free: 0.7852 MB / 0.8386 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.0407/1.016, allocations: 26.65 MB / 1.344 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005926/1.022, allocations: 4.106 MB / 1.348 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/1.025, allocations: 2.492 MB / 1.35 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/1.027, allocations: 1.026 MB / 1.351 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003513/1.03, allocations: 2.167 MB / 1.353 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=310): time 6.222e-06/1.03, allocations: 0 / 1.353 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=314): time 0.02011/1.05, allocations: 11.16 MB / 1.364 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.05, allocations: 137.2 kB / 1.364 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006227/1.057, allocations: 4.461 MB / 1.369 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005822/1.057, allocations: 89.7 kB / 1.369 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002284/1.06, allocations: 2.464 MB / 1.371 GB, free: 7.82 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.061, allocations: 1.086 MB / 1.372 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/1.061, allocations: 68 kB / 1.372 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002521/1.061, allocations: 449.1 kB / 1.373 GB, free: 6.207 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/1.064, allocations: 1.853 MB / 1.375 GB, free: 4.352 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/1.068, allocations: 2.679 MB / 1.377 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/1.074, allocations: 4.66 MB / 1.382 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.074, allocations: 4 kB / 1.382 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.008368/1.082, allocations: 5.223 MB / 1.387 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003382/1.083, allocations: 0.5553 MB / 1.387 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/1.083, allocations: 16 kB / 1.387 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/1.083, allocations: 128.8 kB / 1.388 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.086, allocations: 0.7683 MB / 1.388 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/1.089, allocations: 2.768 MB / 1.391 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005438/1.095, allocations: 0.5543 MB / 1.392 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/1.095, allocations: 127.9 kB / 1.392 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/1.095, allocations: 4 kB / 1.392 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008803/1.104, allocations: 4.843 MB / 1.396 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/1.104, allocations: 20.62 kB / 1.396 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/1.104, allocations: 132.8 kB / 1.397 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/1.108, allocations: 0.745 MB / 1.397 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.11, allocations: 2.166 MB / 1.399 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/1.115, allocations: 0.534 MB / 1.4 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005437/1.116, allocations: 136 kB / 1.4 GB, free: 9.195 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 405 * Array equations: 4 * Algorithm blocks: 2 * 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.004242/1.12, allocations: 2.393 MB / 1.402 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.121, allocations: 466.5 kB / 1.403 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008151/1.129, allocations: 4.736 MB / 1.407 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008106/1.138, allocations: 3.969 MB / 1.411 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.138, allocations: 0 / 1.411 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00386/1.141, allocations: 1.089 MB / 1.412 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.143, allocations: 71.98 kB / 1.412 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005492/1.148, allocations: 433.7 kB / 1.413 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005037/1.149, allocations: 182.1 kB / 1.413 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01296/1.162, allocations: 4.997 MB / 1.418 GB, free: 6.609 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3843/1.546, allocations: 7.408 MB / 1.425 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003569/1.55, allocations: 2.074 MB / 1.427 GB, free: 335.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005905/1.556, allocations: 3.141 MB / 1.43 GB, free: 334.6 MB / 0.948 GB Notification: Performance of Backend: time 3.11e-07/1.556, allocations: 0 / 1.43 GB, free: 334.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.57, allocations: 6.765 MB / 1.437 GB, free: 332.1 MB / 0.948 GB Notification: Performance of SimCode: time 0.02982/1.6, allocations: 15.72 MB / 1.452 GB, free: 324.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1599/1.76, allocations: 117.7 MB / 1.567 GB, free: 230.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)