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.586/1.586, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.0009913/0.0009914, allocations: 179.5 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.346/1.345, 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.0007178/0.0007177, allocations: 90.34 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.0006267, allocations: 16.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2026, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5596/0.7622, allocations: 277.6 MB / 1.252 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.05774/0.82, allocations: 46.56 MB / 1.297 GB, free: 8.953 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00766/0.8277, allocations: 250.3 kB / 1.298 GB, free: 8.707 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.007135/0.8349, allocations: 2.379 MB / 1.3 GB, free: 6.312 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02081/0.8557, allocations: 7.665 MB / 1.307 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.8701, allocations: 4.98 MB / 1.312 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02534/0.8954, allocations: 21.07 MB / 1.333 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008313/0.9038, allocations: 4.671 MB / 1.337 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/0.9161, allocations: 6.149 MB / 1.343 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007838/0.924, allocations: 4.604 MB / 1.348 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.9255, allocations: 232 kB / 1.348 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.9359, allocations: 3.675 MB / 1.352 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.9378, allocations: 1.057 MB / 1.353 GB, free: 8 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.006101/0.9439, allocations: 3.174 MB / 1.356 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.9546, allocations: 7.711 MB / 1.363 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9547, allocations: 0 / 1.363 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9547, allocations: 0 / 1.363 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002777/0.955, allocations: 0 / 1.363 GB, free: 5.078 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.009776/0.9647, allocations: 6.187 MB / 1.369 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.9648, allocations: 8.031 kB / 1.369 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.9663, allocations: 0.7842 MB / 1.37 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007624/0.9739, allocations: 5.157 MB / 1.375 GB, free: 8.723 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.9742, allocations: 324.1 kB / 1.375 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004996/0.9747, allocations: 439.9 kB / 1.376 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006342/0.981, allocations: 4.35 MB / 1.38 GB, free: 3.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-05/0.9811, allocations: 15.78 kB / 1.38 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.9814, allocations: 172 kB / 1.38 GB, free: 3.156 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.9815, allocations: 123.9 kB / 1.38 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.9863, allocations: 2.937 MB / 1.383 GB, free: 96 kB / 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.02221/1.008, allocations: 25.05 MB / 1.408 GB, free: 5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/1.011, allocations: 2.749 MB / 1.41 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/1.013, allocations: 0.9876 MB / 1.411 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002825/1.016, allocations: 3.924 MB / 1.415 GB, free: 12.26 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.016, allocations: 64.56 kB / 1.415 GB, free: 12.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=217): time 4.499e-06/1.016, allocations: 0 / 1.415 GB, free: 12.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=217): time 0.01008/1.026, allocations: 4.1 MB / 1.419 GB, free: 7.996 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/1.026, allocations: 73.41 kB / 1.419 GB, free: 7.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006476/1.032, allocations: 4.16 MB / 1.423 GB, free: 3.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/1.033, allocations: 81.7 kB / 1.424 GB, free: 3.684 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002083/1.035, allocations: 2.767 MB / 1.426 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007109/1.036, allocations: 0.7664 MB / 1.427 GB, free: 124 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/1.036, allocations: 52 kB / 1.427 GB, free: 72 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.3238/1.359, allocations: 413.3 kB / 1.427 GB, free: 341.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.361, allocations: 0.7874 MB / 1.428 GB, free: 341.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/1.363, allocations: 1.8 MB / 1.43 GB, free: 340 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/1.366, allocations: 2.475 MB / 1.432 GB, free: 338.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.366, allocations: 9.688 kB / 1.432 GB, free: 338.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007534/1.374, allocations: 3.495 MB / 1.436 GB, free: 337.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000302/1.374, allocations: 0.7398 MB / 1.436 GB, free: 336.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/1.374, allocations: 29.31 kB / 1.437 GB, free: 336.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/1.377, allocations: 0.5673 MB / 1.437 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.378, allocations: 0.5551 MB / 1.438 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/1.38, allocations: 2.685 MB / 1.44 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/1.385, allocations: 0.6173 MB / 1.441 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/1.385, allocations: 133 kB / 1.441 GB, free: 333.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/1.385, allocations: 4.844 kB / 1.441 GB, free: 333.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004729/1.39, allocations: 2.801 MB / 1.444 GB, free: 332.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.39, allocations: 20.34 kB / 1.444 GB, free: 332.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009374/1.39, allocations: 374.8 kB / 1.444 GB, free: 332.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/1.392, allocations: 0.5556 MB / 1.445 GB, free: 332.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006664/1.399, allocations: 7.702 MB / 1.452 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/1.403, allocations: 0.5783 MB / 1.453 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/1.403, allocations: 132.3 kB / 1.453 GB, free: 325.8 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.001891/1.405, allocations: 1.005 MB / 1.454 GB, free: 325.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000635/1.406, allocations: 0.5037 MB / 1.454 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005375/1.411, allocations: 3.568 MB / 1.458 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003352/1.414, allocations: 2.431 MB / 1.46 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.414, allocations: 3.906 kB / 1.46 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.416, allocations: 0.978 MB / 1.461 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/1.417, allocations: 42.12 kB / 1.461 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.419, allocations: 381.9 kB / 1.462 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.42, allocations: 188.7 kB / 1.462 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004924/1.424, allocations: 2.863 MB / 1.465 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005462/1.43, allocations: 4.077 MB / 1.468 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001426/1.431, allocations: 1.041 MB / 1.47 GB, free: 318.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00391/1.435, allocations: 2.727 MB / 1.472 GB, free: 317.6 MB / 0.948 GB Notification: Performance of Backend: time 4.81e-07/1.435, allocations: 0 / 1.472 GB, free: 317.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009405/1.445, allocations: 5.232 MB / 1.477 GB, free: 315.8 MB / 0.948 GB Notification: Performance of SimCode: time 0.01755/1.462, allocations: 13.23 MB / 1.49 GB, free: 308.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1351/1.597, allocations: 105.9 MB / 1.594 GB, free: 209.8 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)