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.743/1.743, allocations: 288.4 MB / 303.7 MB, free: 8.047 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.001144/0.001144, allocations: 175.3 kB / 372.3 MB, free: 10.13 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.491/1.491, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0008227/0.0008227, allocations: 82.36 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006103, allocations: 13.09 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2707, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8053/1.076, allocations: 277.6 MB / 1.251 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.06596/1.142, allocations: 46.56 MB / 1.297 GB, free: 9.008 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01386/1.156, allocations: 254.2 kB / 1.297 GB, free: 8.758 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/1.168, allocations: 2.379 MB / 1.299 GB, free: 6.363 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02841/1.197, allocations: 7.658 MB / 1.307 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01801/1.215, allocations: 4.985 MB / 1.312 GB, free: 9.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.03078/1.245, allocations: 21.08 MB / 1.332 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/1.257, allocations: 4.66 MB / 1.337 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01587/1.273, allocations: 6.145 MB / 1.343 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009702/1.283, allocations: 4.608 MB / 1.347 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002628/1.286, allocations: 232 kB / 1.347 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/1.3, allocations: 3.671 MB / 1.351 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003124/1.303, allocations: 1.061 MB / 1.352 GB, free: 56 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.008855/1.312, allocations: 3.17 MB / 1.355 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/1.325, allocations: 7.703 MB / 1.363 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.325, allocations: 4 kB / 1.363 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.336e-06/1.325, allocations: 0 / 1.363 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004467/1.326, allocations: 0 / 1.363 GB, free: 5.137 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.01412/1.34, allocations: 6.183 MB / 1.369 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.34, allocations: 15.97 kB / 1.369 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/1.343, allocations: 0.7842 MB / 1.369 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/1.355, allocations: 5.157 MB / 1.375 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/1.355, allocations: 324.1 kB / 1.375 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006214/1.355, allocations: 431.9 kB / 1.375 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007084/1.363, allocations: 4.358 MB / 1.38 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.621e-05/1.363, allocations: 23.72 kB / 1.38 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/1.363, allocations: 176 kB / 1.38 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/1.363, allocations: 119.9 kB / 1.38 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004917/1.368, allocations: 2.941 MB / 1.383 GB, free: 140 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.02592/1.394, allocations: 25.04 MB / 1.407 GB, free: 5.055 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/1.397, allocations: 2.753 MB / 1.41 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/1.398, allocations: 0.9915 MB / 1.411 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00282/1.401, allocations: 3.924 MB / 1.415 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/1.401, allocations: 64.56 kB / 1.415 GB, free: 12.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=217): time 4.008e-06/1.401, allocations: 0 / 1.415 GB, free: 12.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=217): time 0.0101/1.411, allocations: 4.096 MB / 1.419 GB, free: 8.047 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/1.411, allocations: 81.34 kB / 1.419 GB, free: 7.953 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006324/1.418, allocations: 4.152 MB / 1.423 GB, free: 3.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004246/1.418, allocations: 81.7 kB / 1.423 GB, free: 3.734 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.42, allocations: 2.771 MB / 1.426 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008807/1.421, allocations: 0.7586 MB / 1.426 GB, free: 180 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.421, allocations: 64 kB / 1.426 GB, free: 116 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.4345/1.856, allocations: 411.9 kB / 1.427 GB, free: 341.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/1.858, allocations: 0.7822 MB / 1.428 GB, free: 341.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/1.86, allocations: 1.806 MB / 1.429 GB, free: 340.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/1.863, allocations: 2.471 MB / 1.432 GB, free: 339 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/1.863, allocations: 6.562 kB / 1.432 GB, free: 339 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007706/1.871, allocations: 3.493 MB / 1.435 GB, free: 337.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002933/1.871, allocations: 0.7455 MB / 1.436 GB, free: 336.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/1.871, allocations: 24.72 kB / 1.436 GB, free: 336.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/1.874, allocations: 0.5636 MB / 1.436 GB, free: 336.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/1.875, allocations: 0.5548 MB / 1.437 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/1.877, allocations: 2.695 MB / 1.44 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.882, allocations: 0.6141 MB / 1.44 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/1.882, allocations: 136.8 kB / 1.44 GB, free: 334.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.882, allocations: 4.219 kB / 1.44 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004702/1.887, allocations: 2.802 MB / 1.443 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.887, allocations: 21.69 kB / 1.443 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009108/1.887, allocations: 364.4 kB / 1.443 GB, free: 333.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.889, allocations: 0.5548 MB / 1.444 GB, free: 333 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/1.896, allocations: 7.717 MB / 1.452 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.9, allocations: 0.5711 MB / 1.452 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/1.901, allocations: 135.6 kB / 1.452 GB, free: 326.3 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.002205/1.903, allocations: 1.004 MB / 1.453 GB, free: 325.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009928/1.904, allocations: 0.5039 MB / 1.454 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005828/1.91, allocations: 3.561 MB / 1.457 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.42e-05/1.91, allocations: 36.5 kB / 1.457 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.91, allocations: 1.375 kB / 1.457 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003463/1.913, allocations: 2.431 MB / 1.46 GB, free: 323.2 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.01267/1.926, allocations: 8.203 MB / 1.468 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.926, allocations: 1.406 kB / 1.468 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.927, allocations: 369.7 kB / 1.468 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006631/1.928, allocations: 304.8 kB / 1.468 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.928, allocations: 69.28 kB / 1.468 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/1.929, allocations: 2.492 MB / 1.471 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.929, allocations: 7.656 kB / 1.471 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006678/1.936, allocations: 4.327 MB / 1.475 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.938, allocations: 0.974 MB / 1.476 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006696/1.939, allocations: 42.25 kB / 1.476 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.942, allocations: 438.5 kB / 1.476 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.942, allocations: 148.9 kB / 1.477 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.943, allocations: 113.6 kB / 1.477 GB, free: 314 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004226/1.947, allocations: 2.731 MB / 1.479 GB, free: 313 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.947, allocations: 0 / 1.479 GB, free: 313 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009944/1.957, allocations: 3.268 MB / 1.483 GB, free: 312.4 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.002376/1.959, allocations: 1.506 MB / 1.484 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006283/1.965, allocations: 4.391 MB / 1.488 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.965, allocations: 10.83 kB / 1.488 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.967, allocations: 1.232 MB / 1.489 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01322/1.98, allocations: 2.631 MB / 1.492 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.993, allocations: 11 MB / 1.503 GB, free: 302 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.995, allocations: 2.866 MB / 1.506 GB, free: 299.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0047/2, allocations: 1.156 MB / 1.507 GB, free: 298.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007882/2.001, allocations: 415.2 kB / 1.507 GB, free: 297.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/2.001, allocations: 7.875 kB / 1.507 GB, free: 297.8 MB / 0.948 GB Notification: Performance of Templates: time 0.1358/2.136, allocations: 102.7 MB / 1.607 GB, free: 196 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)