Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 114.6 kB / 16.42 MB, free: 6.016 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.00169/0.00169, allocations: 189.2 kB / 17.35 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.706/2.706, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.001691, allocations: 67.89 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7745, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05595/0.8305, allocations: 53.74 MB / 1.279 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0243/0.8548, allocations: 17.02 MB / 1.295 GB, free: 6.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.858, allocations: 87.5 kB / 1.296 GB, free: 6.375 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006175/0.8641, allocations: 1.936 MB / 1.297 GB, free: 4.438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008514/0.8727, allocations: 2.613 MB / 1.3 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006265/0.879, allocations: 2.352 MB / 1.302 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01195/0.8909, allocations: 7.55 MB / 1.31 GB, free: 7.914 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.8941, allocations: 1.666 MB / 1.311 GB, free: 6.211 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.8987, allocations: 1.978 MB / 1.313 GB, free: 4.234 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.9013, allocations: 1.416 MB / 1.315 GB, free: 2.812 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006714/0.902, allocations: 180 kB / 1.315 GB, free: 2.637 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.9065, allocations: 2.016 MB / 1.317 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009936/0.9075, allocations: 0.6619 MB / 1.317 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.9098, allocations: 1.224 MB / 1.319 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007481/0.9173, allocations: 3.946 MB / 1.322 GB, free: 10.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9173, allocations: 0 / 1.322 GB, free: 10.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9173, allocations: 0 / 1.322 GB, free: 10.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001146/0.9175, allocations: 0 / 1.322 GB, free: 10.76 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006489/0.924, allocations: 3.053 MB / 1.325 GB, free: 7.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.924, allocations: 11.98 kB / 1.325 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.9268, allocations: 0.5565 MB / 1.326 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.932, allocations: 2.756 MB / 1.329 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.9321, allocations: 94.17 kB / 1.329 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.9324, allocations: 120 kB / 1.329 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.9352, allocations: 1.363 MB / 1.33 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.9353, allocations: 0 / 1.33 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.9354, allocations: 51.94 kB / 1.33 GB, free: 2.508 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.9355, allocations: 50.06 kB / 1.33 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.9383, allocations: 1.101 MB / 1.331 GB, free: 1.348 MB / 1.045 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.01064/0.949, allocations: 7.469 MB / 1.339 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.9514, allocations: 1.34 MB / 1.34 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.9525, allocations: 435.2 kB / 1.34 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005869/0.9583, allocations: 3.153 MB / 1.344 GB, free: 3.938 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.9594, allocations: 430.9 kB / 1.344 GB, free: 3.504 MB / 1.061 GB Notification: Performance of pre-optimization done (n=59): time 3.366e-06/0.9594, allocations: 4 kB / 1.344 GB, free: 3.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=59): time 0.003277/0.9627, allocations: 1.257 MB / 1.345 GB, free: 2.219 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.9628, allocations: 55.97 kB / 1.345 GB, free: 2.152 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.9663, allocations: 2.125 MB / 1.347 GB, free: 0 / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.9664, allocations: 45.7 kB / 1.347 GB, free: 15.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.9673, allocations: 1.032 MB / 1.348 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.9676, allocations: 226.2 kB / 1.349 GB, free: 14.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.9681, allocations: 322.6 kB / 1.349 GB, free: 14.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.9682, allocations: 301.1 kB / 1.349 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.9694, allocations: 0.5493 MB / 1.35 GB, free: 13.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.9708, allocations: 0.9963 MB / 1.351 GB, free: 12.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.9733, allocations: 1.448 MB / 1.352 GB, free: 10.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.9733, allocations: 4 kB / 1.352 GB, free: 10.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003394/0.9767, allocations: 1.772 MB / 1.354 GB, free: 8.922 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.9768, allocations: 42.33 kB / 1.354 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.9768, allocations: 12 kB / 1.354 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.9768, allocations: 24 kB / 1.354 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.9779, allocations: 303.5 kB / 1.354 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.978, allocations: 23.92 kB / 1.354 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9794, allocations: 194.9 kB / 1.354 GB, free: 8.328 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.9795, allocations: 63.98 kB / 1.354 GB, free: 8.266 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001748/0.9812, allocations: 0.9717 MB / 1.355 GB, free: 7.289 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001358/0.9826, allocations: 0.9924 MB / 1.356 GB, free: 6.117 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002274/0.9849, allocations: 1.447 MB / 1.358 GB, free: 4.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.103e-06/0.9849, allocations: 4 kB / 1.358 GB, free: 4.496 MB / 1.076 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003239/0.9882, allocations: 1.778 MB / 1.359 GB, free: 2.707 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.9882, allocations: 41.64 kB / 1.36 GB, free: 2.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.9882, allocations: 12 kB / 1.36 GB, free: 2.648 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9883, allocations: 20.88 kB / 1.36 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9894, allocations: 311.5 kB / 1.36 GB, free: 2.324 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.9894, allocations: 27.86 kB / 1.36 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.9908, allocations: 159.3 kB / 1.36 GB, free: 2.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.9909, allocations: 59.98 kB / 1.36 GB, free: 2.082 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.9912, allocations: 263.8 kB / 1.36 GB, free: 1.816 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.9915, allocations: 218.5 kB / 1.361 GB, free: 1.602 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.9943, allocations: 1.123 MB / 1.362 GB, free: 468 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001925/0.9962, allocations: 0.9543 MB / 1.363 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9962, allocations: 0 / 1.363 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/0.9969, allocations: 391.4 kB / 1.363 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.9971, allocations: 19.94 kB / 1.363 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/0.998, allocations: 63.94 kB / 1.363 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.9981, allocations: 52.48 kB / 1.363 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002655/1.001, allocations: 1.032 MB / 1.364 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003125/1.004, allocations: 1.638 MB / 1.366 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008936/1.005, allocations: 420.3 kB / 1.366 GB, free: 11.81 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001971/1.007, allocations: 1.416 MB / 1.367 GB, free: 10.38 MB / 1.092 GB Notification: Performance of Backend: time 4.61e-07/1.007, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006224/1.013, allocations: 2.776 MB / 1.37 GB, free: 7.746 MB / 1.092 GB Notification: Performance of SimCode: time 0.007157/1.02, allocations: 4.658 MB / 1.375 GB, free: 3.051 MB / 1.092 GB Notification: Performance of Templates: time 0.08022/1.1, allocations: 43.6 MB / 1.417 GB, free: 7.887 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)