Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 176.1 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205 MB / 0.5767 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007125/0.0007125, allocations: 83.17 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 11.19 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1694, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.6004/0.7698, allocations: 259.2 MB / 1.15 GB, free: 380 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.7931, allocations: 20.3 MB / 1.17 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.7963, allocations: 74.41 kB / 1.17 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.7993, allocations: 0.9785 MB / 1.171 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.8116, allocations: 3.453 MB / 1.174 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007186/0.8188, allocations: 2.292 MB / 1.176 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02373/0.8425, allocations: 21.62 MB / 1.197 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00735/0.8499, allocations: 5.444 MB / 1.203 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.861, allocations: 4.704 MB / 1.207 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008153/0.8692, allocations: 4.412 MB / 1.212 GB, free: 336 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.8703, allocations: 228 kB / 1.212 GB, free: 108 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009533/0.8799, allocations: 3.946 MB / 1.216 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.8822, allocations: 1.486 MB / 1.217 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.005905/0.8881, allocations: 3.058 MB / 1.22 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.9054, allocations: 12.02 MB / 1.232 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9054, allocations: 0 / 1.232 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9054, allocations: 0 / 1.232 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002479/0.9057, allocations: 0 / 1.232 GB, free: 12.3 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.01311/0.9188, allocations: 5.839 MB / 1.238 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9189, allocations: 8.031 kB / 1.238 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007017/0.9259, allocations: 1.242 MB / 1.239 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.9361, allocations: 5.906 MB / 1.245 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.9364, allocations: 317.6 kB / 1.245 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000762/0.9371, allocations: 427.5 kB / 1.245 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.9473, allocations: 5.976 MB / 1.251 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.9475, allocations: 7.906 kB / 1.251 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/0.9479, allocations: 166.7 kB / 1.251 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.9481, allocations: 199.7 kB / 1.251 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009429/0.9575, allocations: 5.32 MB / 1.257 GB, free: 2.871 MB / 0.7761 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.0314/0.9889, allocations: 24.04 MB / 1.28 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/0.9937, allocations: 3.775 MB / 1.284 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.9965, allocations: 2.169 MB / 1.286 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.9976, allocations: 1.02 MB / 1.287 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002635/1, allocations: 1.901 MB / 1.289 GB, free: 352 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=274): time 5.25e-06/1, allocations: 0 / 1.289 GB, free: 352 kB / 0.8073 GB Notification: Performance of matching and sorting (n=278): time 0.01769/1.018, allocations: 9.737 MB / 1.298 GB, free: 6.395 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/1.018, allocations: 140.9 kB / 1.298 GB, free: 6.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005659/1.024, allocations: 4.15 MB / 1.303 GB, free: 2.062 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004727/1.024, allocations: 85.7 kB / 1.303 GB, free: 1.973 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001947/1.026, allocations: 2.208 MB / 1.305 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.027, allocations: 0.9596 MB / 1.306 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/1.028, allocations: 264.1 kB / 1.306 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.879e-05/1.028, allocations: 305.1 kB / 1.306 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/1.03, allocations: 1.622 MB / 1.308 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/1.033, allocations: 2.425 MB / 1.31 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005268/1.038, allocations: 4.112 MB / 1.314 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.038, allocations: 4 kB / 1.314 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.007197/1.046, allocations: 4.663 MB / 1.319 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003073/1.046, allocations: 0.5288 MB / 1.319 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.046, allocations: 12 kB / 1.319 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/1.046, allocations: 132.5 kB / 1.319 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/1.049, allocations: 0.6786 MB / 1.32 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/1.051, allocations: 2.764 MB / 1.323 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/1.056, allocations: 0.5062 MB / 1.323 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/1.056, allocations: 116 kB / 1.323 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/1.056, allocations: 4 kB / 1.323 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006228/1.062, allocations: 4.325 MB / 1.328 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.062, allocations: 12 kB / 1.328 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/1.062, allocations: 129.4 kB / 1.328 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.065, allocations: 0.663 MB / 1.328 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/1.067, allocations: 2.158 MB / 1.33 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/1.071, allocations: 0.4964 MB / 1.331 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/1.071, allocations: 116 kB / 1.331 GB, free: 3.727 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (373): * Single equations (assignments): 365 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003302/1.075, allocations: 2.186 MB / 1.333 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/1.076, allocations: 422.9 kB / 1.334 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/1.082, allocations: 4.122 MB / 1.338 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004708/1.087, allocations: 3.454 MB / 1.341 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.087, allocations: 0 / 1.341 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/1.089, allocations: 0.9684 MB / 1.342 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006401/1.09, allocations: 75.92 kB / 1.342 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.092, allocations: 404.1 kB / 1.342 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003162/1.093, allocations: 161.9 kB / 1.343 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007327/1.1, allocations: 4.4 MB / 1.347 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008642/1.109, allocations: 6.447 MB / 1.353 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002247/1.111, allocations: 1.797 MB / 1.355 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004405/1.115, allocations: 2.932 MB / 1.358 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of Backend: time 6.41e-07/1.115, allocations: 0 / 1.358 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.126, allocations: 6.14 MB / 1.364 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of SimCode: time 0.02372/1.15, allocations: 14.55 MB / 1.378 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of Templates: time 0.4671/1.617, allocations: 110.5 MB / 1.486 GB, free: 321.6 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)