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.001005/0.001005, allocations: 99.55 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.001073/0.001073, allocations: 177.3 kB / 15.94 MB, free: 228 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.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.513/1.513, allocations: 251.9 MB / 0.51 GB, free: 4.902 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.0005381/0.0005383, allocations: 19.59 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5217, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002928/0.5247, allocations: 1.962 MB / 0.7299 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.5269, allocations: 1.517 MB / 0.7314 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.5271, allocations: 4 kB / 0.7314 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.5277, allocations: 255 kB / 0.7316 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.5279, allocations: 79.77 kB / 0.7317 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.5282, allocations: 87.77 kB / 0.7318 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.5285, allocations: 211.6 kB / 0.732 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.5286, allocations: 44.72 kB / 0.732 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.5288, allocations: 119.5 kB / 0.7321 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.529, allocations: 171.4 kB / 0.7323 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.5291, allocations: 23.94 kB / 0.7323 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.5292, allocations: 55.97 kB / 0.7324 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.5293, allocations: 103.8 kB / 0.7325 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.5294, allocations: 81.52 kB / 0.7326 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.5298, allocations: 385 kB / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5298, allocations: 0 / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5298, allocations: 3.938 kB / 0.7329 GB, free: 6.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5298, allocations: 0 / 0.7329 GB, free: 6.348 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.001259/0.5311, allocations: 0.6577 MB / 0.7336 GB, free: 5.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.5311, allocations: 8.031 kB / 0.7336 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/0.532, allocations: 183.3 kB / 0.7337 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.5325, allocations: 329.3 kB / 0.7341 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.5326, allocations: 87.61 kB / 0.7341 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.5327, allocations: 12 kB / 0.7342 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.5334, allocations: 320.6 kB / 0.7345 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5334, allocations: 0 / 0.7345 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.5335, allocations: 8 kB / 0.7345 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5335, allocations: 4 kB / 0.7345 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.5346, allocations: 468.3 kB / 0.7349 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.5363, allocations: 0.8746 MB / 0.7358 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.5369, allocations: 302.3 kB / 0.7361 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.537, allocations: 4 kB / 0.7361 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.537, allocations: 30.56 kB / 0.7361 GB, free: 2.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.537, allocations: 0 / 0.7361 GB, free: 2.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.001848/0.5389, allocations: 0.712 MB / 0.7368 GB, free: 2.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.5389, allocations: 51.41 kB / 0.7368 GB, free: 2.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.5394, allocations: 429.5 kB / 0.7372 GB, free: 1.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.5395, allocations: 29.7 kB / 0.7373 GB, free: 1.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.5396, allocations: 176.1 kB / 0.7374 GB, free: 1.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.5397, allocations: 63.09 kB / 0.7375 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.5397, allocations: 3.938 kB / 0.7375 GB, free: 1.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5398, allocations: 354.8 kB / 0.7378 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.5404, allocations: 215.9 kB / 0.7381 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.541, allocations: 249.2 kB / 0.7383 GB, free: 0.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.5416, allocations: 207.8 kB / 0.7385 GB, free: 432 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5416, allocations: 0 / 0.7385 GB, free: 432 kB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001252/0.5428, allocations: 0.4989 MB / 0.739 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5429, allocations: 4 kB / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5429, allocations: 0 / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5429, allocations: 0 / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.5434, allocations: 75.92 kB / 0.7391 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5434, allocations: 7.938 kB / 0.7391 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.5438, allocations: 47.8 kB / 0.7391 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.5438, allocations: 11.98 kB / 0.7391 GB, free: 15.77 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.0002399/0.5441, allocations: 165.8 kB / 0.7393 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.5441, allocations: 35.62 kB / 0.7393 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.103e-05/0.5442, allocations: 39.59 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.5442, allocations: 0 / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5442, allocations: 4 kB / 0.7394 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5443, allocations: 0 / 0.7394 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.5448, allocations: 474.8 kB / 0.7398 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5448, allocations: 0 / 0.7398 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/0.5453, allocations: 79.86 kB / 0.7399 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5453, allocations: 0 / 0.7399 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.5453, allocations: 4 kB / 0.7399 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5454, allocations: 0 / 0.7399 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5454, allocations: 3.938 kB / 0.7399 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.5466, allocations: 0.6002 MB / 0.7405 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5467, allocations: 112.6 kB / 0.7406 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.5468, allocations: 7.984 kB / 0.7406 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.5472, allocations: 43.95 kB / 0.7406 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.5473, allocations: 27.95 kB / 0.7407 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.5473, allocations: 7.938 kB / 0.7407 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003423/0.5477, allocations: 303.1 kB / 0.741 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5477, allocations: 3.938 kB / 0.741 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003583/0.548, allocations: 75.94 kB / 0.741 GB, free: 13.71 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.0001282/0.5482, allocations: 95.25 kB / 0.7411 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.5494, allocations: 484.6 kB / 0.7416 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5494, allocations: 0 / 0.7416 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.5501, allocations: 249 kB / 0.7418 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.5504, allocations: 56.75 kB / 0.7419 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.5518, allocations: 0.7485 MB / 0.7426 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.5522, allocations: 0.7989 MB / 0.7434 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000295/0.5526, allocations: 62.3 kB / 0.7434 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.5527, allocations: 27.42 kB / 0.7435 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.5527, allocations: 0 / 0.7435 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.008348/0.5611, allocations: 3.863 MB / 0.7472 GB, free: 7.352 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: