Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008894, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001231/0.001231, allocations: 168.7 kB / 15.95 MB, free: 204 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.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.481/1.481, allocations: 252 MB / 0.5102 GB, free: 4.789 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.0005817/0.0005817, allocations: 16 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5203, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002553/0.5229, allocations: 2.033 MB / 0.7301 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.5252, allocations: 1.595 MB / 0.7317 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.5254, allocations: 4 kB / 0.7317 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.5261, allocations: 242.8 kB / 0.7319 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.5263, allocations: 67.47 kB / 0.732 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.5266, allocations: 87.83 kB / 0.7321 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.527, allocations: 294.8 kB / 0.7323 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.5271, allocations: 36.72 kB / 0.7324 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.5274, allocations: 115.5 kB / 0.7325 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.5276, allocations: 179.5 kB / 0.7327 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.5277, allocations: 16 kB / 0.7327 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.5278, allocations: 51.97 kB / 0.7327 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.5279, allocations: 111.7 kB / 0.7328 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.528, allocations: 81.52 kB / 0.7329 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.5284, allocations: 385 kB / 0.7333 GB, free: 6.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5284, allocations: 0 / 0.7333 GB, free: 6.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5284, allocations: 0 / 0.7333 GB, free: 6.105 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.5284, allocations: 0 / 0.7333 GB, free: 6.105 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001129/0.5296, allocations: 0.6654 MB / 0.7339 GB, free: 5.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5296, allocations: 12.03 kB / 0.7339 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000795/0.5304, allocations: 179.2 kB / 0.7341 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.5309, allocations: 333.3 kB / 0.7344 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.531, allocations: 83.61 kB / 0.7345 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.5311, allocations: 15.94 kB / 0.7345 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007756/0.5319, allocations: 324.6 kB / 0.7348 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5319, allocations: 0 / 0.7348 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.5319, allocations: 0 / 0.7348 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.5319, allocations: 4 kB / 0.7348 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.533, allocations: 468.3 kB / 0.7353 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.5347, allocations: 0.8746 MB / 0.7361 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.5353, allocations: 290.4 kB / 0.7364 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.5359, allocations: 236.7 kB / 0.7366 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.5359, allocations: 11.92 kB / 0.7366 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5359, allocations: 38.55 kB / 0.7367 GB, free: 2.441 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.5359, allocations: 0 / 0.7367 GB, free: 2.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.001732/0.5377, allocations: 0.7178 MB / 0.7374 GB, free: 1.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5377, allocations: 51.41 kB / 0.7374 GB, free: 1.656 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.5382, allocations: 421.6 kB / 0.7378 GB, free: 1.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.5383, allocations: 29.7 kB / 0.7379 GB, free: 1.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.5384, allocations: 172.1 kB / 0.738 GB, free: 1.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.5385, allocations: 59.11 kB / 0.7381 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.5385, allocations: 0 / 0.7381 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5386, allocations: 354.8 kB / 0.7384 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.5392, allocations: 219.8 kB / 0.7386 GB, free: 412 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/0.5397, allocations: 251.3 kB / 0.7389 GB, free: 148 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.5403, allocations: 206.1 kB / 0.7391 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5403, allocations: 4 kB / 0.7391 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00115/0.5414, allocations: 0.493 MB / 0.7396 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5415, allocations: 4 kB / 0.7396 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5415, allocations: 0 / 0.7396 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5415, allocations: 0 / 0.7396 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.542, allocations: 79.92 kB / 0.7396 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.542, allocations: 0 / 0.7396 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.5423, allocations: 51.73 kB / 0.7397 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.5423, allocations: 11.98 kB / 0.7397 GB, free: 15.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001972/0.5426, allocations: 165.8 kB / 0.7399 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.5426, allocations: 31.62 kB / 0.7399 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.5427, allocations: 47.61 kB / 0.7399 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5427, allocations: 4 kB / 0.7399 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.5427, allocations: 0 / 0.7399 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5427, allocations: 0 / 0.7399 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.5433, allocations: 482.6 kB / 0.7404 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5433, allocations: 0 / 0.7404 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.5438, allocations: 79.86 kB / 0.7405 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5438, allocations: 0 / 0.7405 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.5438, allocations: 11.94 kB / 0.7405 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5438, allocations: 0 / 0.7405 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5438, allocations: 0 / 0.7405 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.5451, allocations: 0.6022 MB / 0.7411 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.5452, allocations: 116.6 kB / 0.7412 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.5452, allocations: 4 kB / 0.7412 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.5456, allocations: 43.94 kB / 0.7412 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.5457, allocations: 23.97 kB / 0.7412 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.5457, allocations: 11.98 kB / 0.7413 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003382/0.546, allocations: 307.1 kB / 0.7416 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5461, allocations: 0 / 0.7416 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003352/0.5464, allocations: 63.94 kB / 0.7416 GB, free: 13.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0001351/0.5465, allocations: 107.2 kB / 0.7417 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.5477, allocations: 479.5 kB / 0.7422 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5477, allocations: 4 kB / 0.7422 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.5483, allocations: 243.8 kB / 0.7424 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.5488, allocations: 59.12 kB / 0.7425 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.5501, allocations: 0.7537 MB / 0.7432 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.5505, allocations: 0.7912 MB / 0.744 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002913/0.5508, allocations: 66.25 kB / 0.744 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.551, allocations: 23.42 kB / 0.7441 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.551, allocations: 0 / 0.7441 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of Templates: time 0.007702/0.5587, allocations: 3.86 MB / 0.7478 GB, free: 6.863 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) Environment - environmentSimulation: