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.001209/0.001209, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001446/0.001446, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.599/1.599, allocations: 251.9 MB / 0.51 GB, free: 4.906 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.0005242/0.0005243, allocations: 12 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5043, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05303/0.5574, allocations: 52.43 MB / 0.7792 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.575, allocations: 11.85 MB / 0.7907 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.5777, allocations: 47.69 kB / 0.7908 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.5814, allocations: 0.9331 MB / 0.7917 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009279/0.5907, allocations: 2.134 MB / 0.7938 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.5959, allocations: 1.527 MB / 0.7953 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005401/0.6013, allocations: 2.511 MB / 0.7977 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.6033, allocations: 1.064 MB / 0.7988 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.6059, allocations: 1.207 MB / 0.7999 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.6074, allocations: 0.8636 MB / 0.8008 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.6077, allocations: 68 kB / 0.8009 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.6103, allocations: 0.8543 MB / 0.8017 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.6107, allocations: 350.7 kB / 0.802 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.6113, allocations: 384.7 kB / 0.8024 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.6142, allocations: 2.135 MB / 0.8045 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6142, allocations: 0 / 0.8045 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6142, allocations: 0 / 0.8045 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.518e-05/0.6142, allocations: 8 kB / 0.8045 GB, free: 12.92 MB / 0.6231 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.004085/0.6183, allocations: 2.002 MB / 0.8064 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6184, allocations: 12.03 kB / 0.8065 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.6197, allocations: 345.5 kB / 0.8068 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.6222, allocations: 1.403 MB / 0.8082 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.6223, allocations: 161.5 kB / 0.8083 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.6225, allocations: 104 kB / 0.8084 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.6252, allocations: 1.406 MB / 0.8098 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.6252, allocations: 0 / 0.8098 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.6254, allocations: 44 kB / 0.8098 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.6254, allocations: 39.92 kB / 0.8099 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.6285, allocations: 1.327 MB / 0.8112 GB, free: 5.875 MB / 0.6231 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.007734/0.6362, allocations: 6.385 MB / 0.8174 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.6383, allocations: 1.143 MB / 0.8185 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008716/0.6392, allocations: 1.148 MB / 0.8196 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.6392, allocations: 47.88 kB / 0.8197 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=77): time 3.757e-06/0.6392, allocations: 0 / 0.8197 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77): time 0.004045/0.6433, allocations: 1.581 MB / 0.8212 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.6434, allocations: 111.5 kB / 0.8213 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.6452, allocations: 1.307 MB / 0.8226 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.6453, allocations: 41.7 kB / 0.8226 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006167/0.6459, allocations: 0.7162 MB / 0.8233 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.6462, allocations: 264.1 kB / 0.8236 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.6462, allocations: 16 kB / 0.8236 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6464, allocations: 338 kB / 0.8239 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.6476, allocations: 493.7 kB / 0.8244 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.6489, allocations: 0.7074 MB / 0.8251 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.6502, allocations: 0.5299 MB / 0.8256 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6502, allocations: 4 kB / 0.8256 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003003/0.6532, allocations: 1.335 MB / 0.8269 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008425/0.6541, allocations: 1.877 MB / 0.8287 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6541, allocations: 8 kB / 0.8288 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.6541, allocations: 8 kB / 0.8288 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6554, allocations: 295.5 kB / 0.829 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.6554, allocations: 19.92 kB / 0.8291 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.6569, allocations: 214.9 kB / 0.8293 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.6571, allocations: 35.98 kB / 0.8293 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6571, allocations: 8 kB / 0.8293 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002791/0.6599, allocations: 1.175 MB / 0.8305 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6599, allocations: 11.92 kB / 0.8305 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6599, allocations: 8 kB / 0.8305 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6611, allocations: 292 kB / 0.8308 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/0.6612, allocations: 15.98 kB / 0.8308 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.6627, allocations: 207 kB / 0.831 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.6628, allocations: 35.98 kB / 0.831 GB, free: 408 kB / 0.6387 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 (reaToInt.y,intGreThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008739/0.6637, allocations: 464.8 kB / 0.8314 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/0.6641, allocations: 150.2 kB / 0.8316 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.6675, allocations: 1.47 MB / 0.833 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.6675, allocations: 4 kB / 0.833 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.6675, allocations: 4 kB / 0.833 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00247/0.67, allocations: 1.105 MB / 0.8341 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005897/0.6759, allocations: 2.895 MB / 0.8369 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.6759, allocations: 8 kB / 0.8369 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/0.6769, allocations: 216.3 kB / 0.8372 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/0.677, allocations: 8 kB / 0.8372 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.677, allocations: 24 kB / 0.8372 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.6771, allocations: 15.92 kB / 0.8372 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.6771, allocations: 4 kB / 0.8372 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/0.6816, allocations: 2.302 MB / 0.8394 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008543/0.6824, allocations: 370.8 kB / 0.8398 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.6828, allocations: 23.98 kB / 0.8398 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.6842, allocations: 163.8 kB / 0.84 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.6844, allocations: 80.34 kB / 0.8401 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.6845, allocations: 43.97 kB / 0.8401 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001451/0.6859, allocations: 0.9362 MB / 0.841 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6859, allocations: 0 / 0.841 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002282/0.6882, allocations: 0.7951 MB / 0.8418 GB, free: 4.895 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009733/0.6892, allocations: 461.5 kB / 0.8422 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004467/0.6937, allocations: 1.787 MB / 0.844 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6937, allocations: 0 / 0.844 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.6953, allocations: 0.6327 MB / 0.8446 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/0.6989, allocations: 0.673 MB / 0.8453 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.7046, allocations: 3.219 MB / 0.8484 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.706, allocations: 1.304 MB / 0.8497 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002141/0.7081, allocations: 378.6 kB / 0.85 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.7086, allocations: 115.4 kB / 0.8501 GB, free: 12.23 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/0.7086, allocations: 0 / 0.8501 GB, free: 12.23 MB / 0.67 GB Notification: Performance of Templates: time 0.0449/0.7535, allocations: 27.04 MB / 0.8765 GB, free: 1.57 MB / 0.6856 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: