Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009325/0.0009325, allocations: 174.5 kB / 326.5 MB, free: 2.676 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.376/1.376, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0006611/0.0006611, allocations: 91.92 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002894, allocations: 9.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.5826/0.7355, allocations: 261.8 MB / 1.152 GB, free: 388 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.76, allocations: 21.48 MB / 1.173 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003741/0.7638, allocations: 76.91 kB / 1.173 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.767, allocations: 1.033 MB / 1.174 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.7774, allocations: 3.75 MB / 1.178 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006926/0.7844, allocations: 2.464 MB / 1.181 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02579/0.8102, allocations: 22.81 MB / 1.203 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008334/0.8186, allocations: 6.231 MB / 1.209 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01187/0.8305, allocations: 4.935 MB / 1.214 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009947/0.8404, allocations: 4.701 MB / 1.218 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.8416, allocations: 251.2 kB / 1.219 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.8522, allocations: 4.358 MB / 1.223 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.855, allocations: 1.582 MB / 1.224 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.006045/0.8611, allocations: 3.347 MB / 1.228 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.8798, allocations: 13.43 MB / 1.241 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8799, allocations: 0 / 1.241 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8799, allocations: 4 kB / 1.241 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002706/0.8802, allocations: 0 / 1.241 GB, free: 5.18 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: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.01397/0.8941, allocations: 6.427 MB / 1.247 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.8942, allocations: 8.031 kB / 1.247 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008244/0.9025, allocations: 1.416 MB / 1.248 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.9145, allocations: 6.313 MB / 1.255 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/0.9149, allocations: 360.3 kB / 1.255 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.9162, allocations: 490.9 kB / 1.255 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.9289, allocations: 6.903 MB / 1.262 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.9291, allocations: 7.906 kB / 1.262 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004834/0.9296, allocations: 190.7 kB / 1.262 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.9298, allocations: 228.9 kB / 1.263 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.9403, allocations: 6.148 MB / 1.269 GB, free: 8.602 MB / 0.7917 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.04344/0.9838, allocations: 26.7 MB / 1.295 GB, free: 12.55 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006752/0.9906, allocations: 3.917 MB / 1.298 GB, free: 8.578 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004355/0.995, allocations: 2.487 MB / 1.301 GB, free: 6.086 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.9965, allocations: 1.024 MB / 1.302 GB, free: 4.867 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0042/1.001, allocations: 2.187 MB / 1.304 GB, free: 2.633 MB / 0.823 GB Notification: Performance of pre-optimization done (n=310): time 6.261e-06/1.001, allocations: 0 / 1.304 GB, free: 2.633 MB / 0.823 GB Notification: Performance of matching and sorting (n=314): time 0.02561/1.026, allocations: 11.16 MB / 1.315 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.027, allocations: 145.2 kB / 1.315 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/1.037, allocations: 4.521 MB / 1.319 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009197/1.038, allocations: 93.7 kB / 1.32 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003554/1.041, allocations: 2.471 MB / 1.322 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001749/1.043, allocations: 1.08 MB / 1.323 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009883/1.044, allocations: 292.8 kB / 1.323 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.044, allocations: 301.1 kB / 1.324 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/1.048, allocations: 1.861 MB / 1.325 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/1.052, allocations: 2.69 MB / 1.328 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007237/1.059, allocations: 4.676 MB / 1.333 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.059, allocations: 4 kB / 1.333 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.009823/1.069, allocations: 5.242 MB / 1.338 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004354/1.069, allocations: 0.5533 MB / 1.338 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.069, allocations: 16 kB / 1.338 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/1.07, allocations: 127.5 kB / 1.338 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003384/1.073, allocations: 0.7723 MB / 1.339 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/1.076, allocations: 2.771 MB / 1.342 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00583/1.082, allocations: 0.5493 MB / 1.342 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005405/1.083, allocations: 132 kB / 1.342 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/1.083, allocations: 8 kB / 1.343 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008857/1.091, allocations: 4.858 MB / 1.347 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/1.092, allocations: 12 kB / 1.347 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/1.092, allocations: 124.8 kB / 1.347 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/1.095, allocations: 0.7489 MB / 1.348 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/1.098, allocations: 2.158 MB / 1.35 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005102/1.103, allocations: 0.5398 MB / 1.351 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/1.103, allocations: 128 kB / 1.351 GB, free: 1.281 MB / 0.8698 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 (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 (413): * Single equations (assignments): 405 * 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.004633/1.108, allocations: 2.427 MB / 1.353 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/1.11, allocations: 458.5 kB / 1.354 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009263/1.119, allocations: 4.732 MB / 1.358 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006236/1.125, allocations: 3.969 MB / 1.362 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.125, allocations: 11.94 kB / 1.362 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003218/1.129, allocations: 1.077 MB / 1.363 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.13, allocations: 71.98 kB / 1.363 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00407/1.134, allocations: 439.8 kB / 1.364 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/1.134, allocations: 178.2 kB / 1.364 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009108/1.143, allocations: 4.991 MB / 1.369 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01103/1.154, allocations: 7.415 MB / 1.376 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002868/1.157, allocations: 2.073 MB / 1.378 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006183/1.164, allocations: 3.202 MB / 1.381 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of Backend: time 7.41e-07/1.164, allocations: 0 / 1.381 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01448/1.178, allocations: 6.822 MB / 1.388 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of SimCode: time 0.3873/1.565, allocations: 15.94 MB / 1.403 GB, free: 349.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.1675/1.733, allocations: 120.2 MB / 1.521 GB, free: 256.4 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)