Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.4 MB / 304.3 MB, free: 8.125 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.000997/0.000997, allocations: 194.7 kB / 372.9 MB, free: 10.15 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.327/1.327, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0007505/0.0007507, allocations: 98.28 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 15.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1942, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.64/0.8343, allocations: 254.2 MB / 1.229 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03225/0.8666, allocations: 24.71 MB / 1.253 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004173/0.8708, allocations: 99.38 kB / 1.253 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.8742, allocations: 1.064 MB / 1.254 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.8849, allocations: 3.823 MB / 1.258 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009441/0.8944, allocations: 3.407 MB / 1.261 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.02081/0.9152, allocations: 20.26 MB / 1.281 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008813/0.9241, allocations: 6.524 MB / 1.287 GB, free: 264 kB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01187/0.936, allocations: 5.191 MB / 1.293 GB, free: 11.05 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008239/0.9442, allocations: 4.677 MB / 1.297 GB, free: 6.355 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.9454, allocations: 260 kB / 1.297 GB, free: 6.102 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/0.956, allocations: 4.697 MB / 1.302 GB, free: 1.395 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.9585, allocations: 1.603 MB / 1.303 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.005649/0.9642, allocations: 3.42 MB / 1.307 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.9765, allocations: 11.59 MB / 1.318 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9765, allocations: 7.938 kB / 1.318 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9765, allocations: 0 / 1.318 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002205/0.9767, allocations: 0 / 1.318 GB, free: 0.7148 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.0157/0.9924, allocations: 6.877 MB / 1.325 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.9925, allocations: 8.031 kB / 1.325 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/1.001, allocations: 1.514 MB / 1.326 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/1.012, allocations: 6.614 MB / 1.333 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/1.012, allocations: 373.5 kB / 1.333 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008865/1.013, allocations: 0.4999 MB / 1.334 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/1.025, allocations: 7.09 MB / 1.341 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-05/1.025, allocations: 7.906 kB / 1.341 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004465/1.026, allocations: 200 kB / 1.341 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/1.026, allocations: 229.4 kB / 1.341 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/1.036, allocations: 6.259 MB / 1.347 GB, free: 2.723 MB / 0.8698 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.03563/1.072, allocations: 28.02 MB / 1.374 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006163/1.078, allocations: 4.567 MB / 1.379 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/1.081, allocations: 2.567 MB / 1.381 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.082, allocations: 0.9311 MB / 1.382 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003242/1.086, allocations: 2.203 MB / 1.385 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=323): time 5.821e-06/1.086, allocations: 3.938 kB / 1.385 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=327): time 0.02092/1.107, allocations: 11.57 MB / 1.396 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/1.107, allocations: 192.8 kB / 1.396 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006511/1.113, allocations: 4.822 MB / 1.401 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003604/1.114, allocations: 101.7 kB / 1.401 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.116, allocations: 2.698 MB / 1.403 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009982/1.117, allocations: 1.136 MB / 1.405 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.117, allocations: 68 kB / 1.405 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.117, allocations: 457.6 kB / 1.405 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/1.12, allocations: 1.92 MB / 1.407 GB, free: 3.145 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/1.124, allocations: 2.854 MB / 1.41 GB, free: 15.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006342/1.13, allocations: 4.782 MB / 1.414 GB, free: 10.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.13, allocations: 8 kB / 1.414 GB, free: 10.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.008851/1.139, allocations: 5.511 MB / 1.42 GB, free: 5.391 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000324/1.14, allocations: 0.5629 MB / 1.42 GB, free: 4.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/1.14, allocations: 12 kB / 1.42 GB, free: 4.602 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008478/1.14, allocations: 253.5 kB / 1.421 GB, free: 4.348 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/1.144, allocations: 0.8074 MB / 1.421 GB, free: 3.539 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4141/1.558, allocations: 3.416 MB / 1.425 GB, free: 335.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.564, allocations: 0.5973 MB / 1.425 GB, free: 335.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007142/1.565, allocations: 140.8 kB / 1.425 GB, free: 335.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.565, allocations: 6.781 kB / 1.425 GB, free: 335.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009378/1.575, allocations: 5.036 MB / 1.43 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/1.575, allocations: 15.56 kB / 1.43 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/1.575, allocations: 219.4 kB / 1.431 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/1.579, allocations: 0.7944 MB / 1.431 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/1.583, allocations: 4.113 MB / 1.435 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.589, allocations: 0.5816 MB / 1.436 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004265/1.59, allocations: 136 kB / 1.436 GB, free: 330.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 424 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0053/1.595, allocations: 2.417 MB / 1.438 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.596, allocations: 0.4947 MB / 1.439 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009484/1.606, allocations: 4.899 MB / 1.444 GB, free: 327.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00895/1.615, allocations: 4.076 MB / 1.448 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.615, allocations: 0 / 1.448 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00455/1.619, allocations: 1.132 MB / 1.449 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001927/1.621, allocations: 73.95 kB / 1.449 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004932/1.626, allocations: 466.7 kB / 1.449 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006302/1.627, allocations: 198.6 kB / 1.449 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01092/1.638, allocations: 5.088 MB / 1.454 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01216/1.65, allocations: 7.525 MB / 1.462 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003022/1.653, allocations: 2.097 MB / 1.464 GB, free: 320.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006353/1.659, allocations: 3.373 MB / 1.467 GB, free: 318.9 MB / 0.948 GB Notification: Performance of Backend: time 7.21e-07/1.659, allocations: 0 / 1.467 GB, free: 318.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01489/1.674, allocations: 7.183 MB / 1.474 GB, free: 316.4 MB / 0.948 GB Notification: Performance of SimCode: time 0.02692/1.701, allocations: 16.67 MB / 1.49 GB, free: 306.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1716/1.873, allocations: 125.7 MB / 1.613 GB, free: 181.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)