Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005467/0.005467, allocations: 171.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 222.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005566/0.0005568, allocations: 16 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.504, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06388/0.5679, allocations: 61.16 MB / 0.7884 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.5879, allocations: 13.78 MB / 0.8019 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.5914, allocations: 55.62 kB / 0.802 GB, free: 20 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.5952, allocations: 0.8977 MB / 0.8028 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009029/0.6043, allocations: 2.192 MB / 0.805 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.6092, allocations: 1.411 MB / 0.8063 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007438/0.6167, allocations: 5.421 MB / 0.8116 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.6187, allocations: 1.155 MB / 0.8128 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.6216, allocations: 1.369 MB / 0.8141 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.6237, allocations: 1.241 MB / 0.8153 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.6239, allocations: 72 kB / 0.8154 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.6271, allocations: 1.286 MB / 0.8166 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005565/0.6276, allocations: 402.3 kB / 0.817 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.6291, allocations: 0.8994 MB / 0.8179 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00466/0.6338, allocations: 2.99 MB / 0.8208 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6338, allocations: 0 / 0.8208 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.916e-06/0.6338, allocations: 4 kB / 0.8208 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.543e-05/0.6339, allocations: 0 / 0.8208 GB, free: 12.61 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004536/0.6384, allocations: 2.018 MB / 0.8228 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.6385, allocations: 8.031 kB / 0.8228 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.64, allocations: 346.4 kB / 0.8231 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.6427, allocations: 1.439 MB / 0.8245 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.6429, allocations: 157.5 kB / 0.8247 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.6431, allocations: 108 kB / 0.8248 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.6461, allocations: 1.477 MB / 0.8262 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.6461, allocations: 0 / 0.8262 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.6463, allocations: 48 kB / 0.8263 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.6463, allocations: 28 kB / 0.8263 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.6497, allocations: 1.448 MB / 0.8277 GB, free: 5.328 MB / 0.6387 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.008838/0.6586, allocations: 6.627 MB / 0.8342 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.6609, allocations: 1.228 MB / 0.8354 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.6623, allocations: 0.6086 MB / 0.836 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009821/0.6633, allocations: 1.145 MB / 0.8371 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.6634, allocations: 47.22 kB / 0.8372 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=77): time 2.735e-06/0.6634, allocations: 4 kB / 0.8372 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77): time 0.004643/0.6681, allocations: 1.742 MB / 0.8389 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.6682, allocations: 111.5 kB / 0.839 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.6704, allocations: 1.385 MB / 0.8403 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.6705, allocations: 45.7 kB / 0.8404 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/0.6711, allocations: 0.7124 MB / 0.8411 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.6715, allocations: 268.1 kB / 0.8413 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.6716, allocations: 77.67 kB / 0.8414 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6718, allocations: 338 kB / 0.8417 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.6731, allocations: 0.5329 MB / 0.8422 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.6746, allocations: 0.7823 MB / 0.843 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.6773, allocations: 1.23 MB / 0.8442 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6773, allocations: 3.938 kB / 0.8442 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003498/0.6808, allocations: 1.452 MB / 0.8456 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.681, allocations: 228.4 kB / 0.8458 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.681, allocations: 4 kB / 0.8458 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.6811, allocations: 15.88 kB / 0.8459 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.6823, allocations: 303.6 kB / 0.8461 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.6824, allocations: 11.94 kB / 0.8462 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.6839, allocations: 211 kB / 0.8464 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.684, allocations: 39.98 kB / 0.8464 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.684, allocations: 5.875 kB / 0.8464 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00308/0.6871, allocations: 1.292 MB / 0.8477 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.6871, allocations: 4 kB / 0.8477 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6872, allocations: 8 kB / 0.8477 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.6884, allocations: 299.9 kB / 0.848 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6884, allocations: 12 kB / 0.848 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.69, allocations: 211 kB / 0.8482 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.6901, allocations: 39.98 kB / 0.8482 GB, free: 15.25 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008969/0.691, allocations: 460.7 kB / 0.8486 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.6913, allocations: 150.1 kB / 0.8488 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.6949, allocations: 1.575 MB / 0.8503 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.6949, allocations: 12 kB / 0.8503 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6949, allocations: 0 / 0.8503 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002672/0.6976, allocations: 1.214 MB / 0.8515 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/0.7044, allocations: 3.164 MB / 0.8546 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.7044, allocations: 4 kB / 0.8546 GB, free: 8.492 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.7055, allocations: 212.3 kB / 0.8548 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.7055, allocations: 8 kB / 0.8548 GB, free: 8.277 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.7056, allocations: 27.98 kB / 0.8549 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.7056, allocations: 11.94 kB / 0.8549 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.7056, allocations: 11.94 kB / 0.8549 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/0.7111, allocations: 2.212 MB / 0.857 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.7124, allocations: 410.6 kB / 0.8574 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.7127, allocations: 27.92 kB / 0.8575 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.7141, allocations: 162.7 kB / 0.8576 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.7143, allocations: 80.34 kB / 0.8577 GB, free: 5.254 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.7144, allocations: 43.97 kB / 0.8577 GB, free: 5.211 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001702/0.7161, allocations: 1.064 MB / 0.8588 GB, free: 4.152 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7161, allocations: 0 / 0.8588 GB, free: 4.152 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002463/0.7186, allocations: 0.7838 MB / 0.8595 GB, free: 3.367 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.7197, allocations: 468.9 kB / 0.86 GB, free: 2.902 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005007/0.7247, allocations: 1.959 MB / 0.8619 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7248, allocations: 0 / 0.8619 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.7265, allocations: 0.6913 MB / 0.8626 GB, free: 268 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005375/0.7319, allocations: 0.814 MB / 0.8634 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.7378, allocations: 3.382 MB / 0.8667 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.7389, allocations: 1.278 MB / 0.8679 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002307/0.7412, allocations: 400.2 kB / 0.8683 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.7417, allocations: 131.3 kB / 0.8684 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of SimCode: time 1.172e-06/0.7417, allocations: 0 / 0.8684 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of Templates: time 0.06018/0.8019, allocations: 33 MB / 0.9007 GB, free: 9.559 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) Environment - environmentSimulation: