Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.4 MB / 303.4 MB, free: 8.207 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.001024/0.001024, allocations: 175.1 kB / 372 MB, free: 10.29 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.565/1.565, allocations: 205.4 MB / 0.6307 GB, free: 9.922 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.0007199/0.00072, allocations: 98.23 kB / 0.7441 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004274, allocations: 16.45 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7013/0.919, allocations: 277.6 MB / 1.251 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.06944/0.9885, allocations: 46.56 MB / 1.296 GB, free: 9.309 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01159/1, allocations: 250.3 kB / 1.296 GB, free: 9.062 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.009648/1.01, allocations: 2.383 MB / 1.299 GB, free: 6.664 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02475/1.035, allocations: 7.224 MB / 1.306 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01702/1.052, allocations: 4.812 MB / 1.31 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02811/1.08, allocations: 20.98 MB / 1.331 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00923/1.089, allocations: 4.292 MB / 1.335 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/1.106, allocations: 5.911 MB / 1.341 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/1.118, allocations: 4.6 MB / 1.345 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002205/1.12, allocations: 236 kB / 1.346 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/1.131, allocations: 2.639 MB / 1.348 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00206/1.133, allocations: 1.057 MB / 1.349 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.003475/1.137, allocations: 1.373 MB / 1.351 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/1.148, allocations: 7.438 MB / 1.358 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.148, allocations: 4 kB / 1.358 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.507e-06/1.148, allocations: 0 / 1.358 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002471/1.149, allocations: 0 / 1.358 GB, free: 9.891 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.0112/1.16, allocations: 6.246 MB / 1.364 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.16, allocations: 12.03 kB / 1.364 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/1.162, allocations: 0.7842 MB / 1.365 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00945/1.172, allocations: 4.959 MB / 1.37 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/1.172, allocations: 320.1 kB / 1.37 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/1.172, allocations: 432 kB / 1.37 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/1.18, allocations: 4.346 MB / 1.374 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.922e-05/1.18, allocations: 23.78 kB / 1.374 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/1.18, allocations: 180 kB / 1.375 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/1.18, allocations: 123.9 kB / 1.375 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004895/1.185, allocations: 2.941 MB / 1.378 GB, free: 5.039 MB / 0.9011 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.02407/1.209, allocations: 25.04 MB / 1.402 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/1.212, allocations: 2.749 MB / 1.405 GB, free: 6.996 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/1.213, allocations: 0.9876 MB / 1.406 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002877/1.216, allocations: 3.923 MB / 1.41 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/1.216, allocations: 64.56 kB / 1.41 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=217): time 5.51e-06/1.216, allocations: 0 / 1.41 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of matching and sorting (n=217): time 0.01011/1.226, allocations: 4.061 MB / 1.414 GB, free: 12.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.226, allocations: 77.34 kB / 1.414 GB, free: 12.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006281/1.233, allocations: 4.164 MB / 1.418 GB, free: 8.762 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004335/1.233, allocations: 77.7 kB / 1.418 GB, free: 8.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002164/1.235, allocations: 2.771 MB / 1.421 GB, free: 5.891 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/1.236, allocations: 0.7663 MB / 1.421 GB, free: 5.113 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.236, allocations: 56 kB / 1.421 GB, free: 5.059 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000216/1.237, allocations: 415.9 kB / 1.422 GB, free: 4.648 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/1.238, allocations: 0.7787 MB / 1.422 GB, free: 3.867 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.24, allocations: 1.806 MB / 1.424 GB, free: 1.625 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/1.242, allocations: 1.081 MB / 1.425 GB, free: 0.5234 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/1.242, allocations: 8 kB / 1.425 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.4788/1.721, allocations: 3.493 MB / 1.429 GB, free: 340.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004413/1.721, allocations: 0.7372 MB / 1.429 GB, free: 339.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/1.722, allocations: 22.91 kB / 1.429 GB, free: 339.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/1.724, allocations: 0.576 MB / 1.43 GB, free: 339.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/1.727, allocations: 0.5542 MB / 1.431 GB, free: 339.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/1.729, allocations: 2.688 MB / 1.433 GB, free: 337.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/1.735, allocations: 0.6165 MB / 1.434 GB, free: 337.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00053/1.735, allocations: 132.1 kB / 1.434 GB, free: 337.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.736, allocations: 4.938 kB / 1.434 GB, free: 337.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006051/1.742, allocations: 2.795 MB / 1.437 GB, free: 335.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.627e-05/1.742, allocations: 21.25 kB / 1.437 GB, free: 335.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/1.743, allocations: 377.6 kB / 1.437 GB, free: 335.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/1.745, allocations: 0.5558 MB / 1.438 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007887/1.753, allocations: 7.705 MB / 1.445 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005362/1.758, allocations: 0.5778 MB / 1.446 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/1.759, allocations: 132.7 kB / 1.446 GB, free: 329.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002615/1.761, allocations: 1.003 MB / 1.447 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.763, allocations: 0.4997 MB / 1.447 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/1.769, allocations: 3.569 MB / 1.451 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.358e-05/1.769, allocations: 37.09 kB / 1.451 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.769, allocations: 0 / 1.451 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003893/1.773, allocations: 2.437 MB / 1.453 GB, free: 325.8 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.01686/1.79, allocations: 8.199 MB / 1.461 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.79, allocations: 2.125 kB / 1.461 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.792, allocations: 375 kB / 1.462 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/1.792, allocations: 303.4 kB / 1.462 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.792, allocations: 61.08 kB / 1.462 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/1.794, allocations: 2.499 MB / 1.464 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.794, allocations: 2.125 kB / 1.464 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007439/1.801, allocations: 4.331 MB / 1.469 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/1.804, allocations: 0.9734 MB / 1.47 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.806, allocations: 43.25 kB / 1.47 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004308/1.81, allocations: 432.1 kB / 1.47 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/1.81, allocations: 146.8 kB / 1.47 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/1.811, allocations: 111.8 kB / 1.47 GB, free: 316.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006059/1.817, allocations: 2.728 MB / 1.473 GB, free: 315.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.81e-07/1.817, allocations: 3.219 kB / 1.473 GB, free: 315.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01683/1.834, allocations: 3.256 MB / 1.476 GB, free: 315 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004069/1.838, allocations: 1.415 MB / 1.477 GB, free: 314.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008808/1.847, allocations: 4.399 MB / 1.482 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.847, allocations: 3.938 kB / 1.482 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/1.849, allocations: 1.231 MB / 1.483 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01615/1.865, allocations: 2.687 MB / 1.486 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.884, allocations: 11.01 MB / 1.496 GB, free: 305 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00303/1.887, allocations: 2.863 MB / 1.499 GB, free: 303.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006152/1.894, allocations: 1.16 MB / 1.5 GB, free: 302.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.895, allocations: 415.1 kB / 1.501 GB, free: 302.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/1.895, allocations: 0 / 1.501 GB, free: 302.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1409/2.036, allocations: 101 MB / 1.599 GB, free: 203 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)