Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.627/1.627, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.0009308/0.0009307, allocations: 181 kB / 371.8 MB, free: 10.82 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.291/1.291, allocations: 205.4 MB / 0.6304 GB, free: 10.54 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.0007771/0.000777, allocations: 101.4 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 12.39 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5656/0.7293, allocations: 277.6 MB / 1.25 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.05795/0.7873, allocations: 46.56 MB / 1.296 GB, free: 10.25 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008454/0.7958, allocations: 250.3 kB / 1.296 GB, free: 10 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.008207/0.804, allocations: 2.383 MB / 1.298 GB, free: 7.602 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02126/0.8253, allocations: 7.219 MB / 1.305 GB, free: 364 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01419/0.8395, allocations: 4.812 MB / 1.31 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02372/0.8632, allocations: 21.07 MB / 1.331 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007052/0.8703, allocations: 4.644 MB / 1.335 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.8821, allocations: 5.907 MB / 1.341 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007655/0.8898, allocations: 4.608 MB / 1.346 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.8911, allocations: 232 kB / 1.346 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008724/0.8998, allocations: 2.635 MB / 1.348 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.9012, allocations: 1.061 MB / 1.349 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.9037, allocations: 1.377 MB / 1.351 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.009147/0.9128, allocations: 7.438 MB / 1.358 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9128, allocations: 3.938 kB / 1.358 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9129, allocations: 0 / 1.358 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001984/0.9131, allocations: 0 / 1.358 GB, free: 10.37 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.01045/0.9235, allocations: 6.168 MB / 1.364 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.9236, allocations: 12.03 kB / 1.364 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.9256, allocations: 0.7881 MB / 1.365 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008444/0.9341, allocations: 5.169 MB / 1.37 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.9343, allocations: 320.1 kB / 1.37 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005369/0.9349, allocations: 435.9 kB / 1.371 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006625/0.9415, allocations: 4.35 MB / 1.375 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.104e-05/0.9416, allocations: 19.78 kB / 1.375 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/0.9419, allocations: 176 kB / 1.375 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.925e-05/0.942, allocations: 124 kB / 1.375 GB, free: 8.336 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.9469, allocations: 2.945 MB / 1.378 GB, free: 5.387 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.02371/0.9706, allocations: 25.03 MB / 1.402 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.9733, allocations: 2.759 MB / 1.405 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.9746, allocations: 0.9876 MB / 1.406 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002611/0.9773, allocations: 3.924 MB / 1.41 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.9773, allocations: 64.56 kB / 1.41 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=217): time 4.809e-06/0.9773, allocations: 0 / 1.41 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of matching and sorting (n=217): time 0.009466/0.9868, allocations: 4.1 MB / 1.414 GB, free: 13.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.9869, allocations: 73.41 kB / 1.414 GB, free: 13.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005573/0.9925, allocations: 4.156 MB / 1.418 GB, free: 9.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/0.9928, allocations: 81.7 kB / 1.418 GB, free: 8.984 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002033/0.9948, allocations: 2.773 MB / 1.421 GB, free: 6.191 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006581/0.9955, allocations: 0.7625 MB / 1.422 GB, free: 5.418 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.9956, allocations: 56 kB / 1.422 GB, free: 5.363 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.9958, allocations: 415.8 kB / 1.422 GB, free: 4.953 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.997, allocations: 0.7865 MB / 1.423 GB, free: 4.164 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.999, allocations: 1.806 MB / 1.425 GB, free: 1.922 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.329/1.328, allocations: 2.467 MB / 1.427 GB, free: 339.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/1.328, allocations: 6.531 kB / 1.427 GB, free: 339.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007841/1.336, allocations: 3.498 MB / 1.43 GB, free: 339.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.336, allocations: 0.7413 MB / 1.431 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/1.336, allocations: 21 kB / 1.431 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.339, allocations: 0.5662 MB / 1.432 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.341, allocations: 0.5563 MB / 1.432 GB, free: 338.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.342, allocations: 2.683 MB / 1.435 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/1.347, allocations: 0.616 MB / 1.435 GB, free: 335.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/1.347, allocations: 137.4 kB / 1.436 GB, free: 335.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/1.347, allocations: 7.469 kB / 1.436 GB, free: 335.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004915/1.352, allocations: 2.799 MB / 1.438 GB, free: 334.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/1.352, allocations: 20.91 kB / 1.438 GB, free: 334.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/1.353, allocations: 369.8 kB / 1.439 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.355, allocations: 0.556 MB / 1.439 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/1.362, allocations: 7.712 MB / 1.447 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/1.366, allocations: 0.57 MB / 1.447 GB, free: 327.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/1.366, allocations: 132.5 kB / 1.448 GB, free: 327.7 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.001929/1.368, allocations: 1.003 MB / 1.448 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007315/1.369, allocations: 0.5009 MB / 1.449 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/1.374, allocations: 3.566 MB / 1.452 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003637/1.378, allocations: 2.436 MB / 1.455 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.378, allocations: 0 / 1.455 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/1.38, allocations: 0.9744 MB / 1.456 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005258/1.381, allocations: 41.91 kB / 1.456 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/1.383, allocations: 377.3 kB / 1.456 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.384, allocations: 186.3 kB / 1.456 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005205/1.389, allocations: 2.868 MB / 1.459 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005824/1.395, allocations: 4.077 MB / 1.463 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001414/1.396, allocations: 1.045 MB / 1.464 GB, free: 320.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00446/1.401, allocations: 2.729 MB / 1.467 GB, free: 319.6 MB / 0.948 GB Notification: Performance of Backend: time 5.01e-07/1.401, allocations: 0 / 1.467 GB, free: 319.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.411, allocations: 5.151 MB / 1.472 GB, free: 317.8 MB / 0.948 GB Notification: Performance of SimCode: time 0.02041/1.431, allocations: 13.23 MB / 1.485 GB, free: 310.8 MB / 0.948 GB Notification: Performance of Templates: time 0.1394/1.571, allocations: 104.7 MB / 1.587 GB, free: 215.9 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)