Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 197.8 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.5 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4183, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004464/0.4228, allocations: 2.379 MB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.4253, allocations: 1.409 MB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.4256, allocations: 3.938 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.4263, allocations: 198.9 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.4265, allocations: 79.34 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.427, allocations: 115.7 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000525/0.4275, allocations: 338.7 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4277, allocations: 48.72 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.428, allocations: 119.6 kB / 1.073 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.4284, allocations: 187.4 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/0.4285, allocations: 36 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.4287, allocations: 63.97 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.4288, allocations: 127.6 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.429, allocations: 175 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.4296, allocations: 490.8 kB / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4296, allocations: 0 / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4296, allocations: 0 / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.4297, allocations: 0 / 1.074 GB, free: 4.727 MB / 0.8262 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.001449/0.4311, allocations: 0.7058 MB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4312, allocations: 12.03 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.4321, allocations: 144.3 kB / 1.075 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.4326, allocations: 346.3 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.4327, allocations: 88.12 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.4328, allocations: 20.38 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.4336, allocations: 296.6 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4336, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.4337, allocations: 8 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4337, allocations: 3.984 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.4348, allocations: 416.4 kB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.4367, allocations: 0.8704 MB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.4374, allocations: 266.4 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.438, allocations: 220.7 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.438, allocations: 0 / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4381, allocations: 42.5 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.4381, allocations: 0 / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001894/0.44, allocations: 0.643 MB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.44, allocations: 59.34 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.4405, allocations: 429.6 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.4406, allocations: 29.7 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4407, allocations: 184 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.4408, allocations: 63.09 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4409, allocations: 37.7 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4411, allocations: 350.7 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.4417, allocations: 191.8 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.4423, allocations: 236.9 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.4434, allocations: 373.8 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4434, allocations: 0 / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001254/0.4446, allocations: 464.9 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4447, allocations: 5.719 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4447, allocations: 0 / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4447, allocations: 4 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.4452, allocations: 59.86 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.4452, allocations: 7.938 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.4456, allocations: 39.86 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4456, allocations: 7.984 kB / 1.08 GB, free: 13.96 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.4458, allocations: 162.4 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.4459, allocations: 35.53 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.446, allocations: 43.58 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.446, allocations: 4 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.446, allocations: 3.938 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.446, allocations: 0 / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.4466, allocations: 474.8 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4466, allocations: 4 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.447, allocations: 59.88 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4471, allocations: 0 / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.4471, allocations: 11.98 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4471, allocations: 0 / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4471, allocations: 3.938 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.4484, allocations: 0.5456 MB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/0.4485, allocations: 128.5 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.4486, allocations: 8 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.4489, allocations: 35.95 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4491, allocations: 27.89 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.4491, allocations: 8 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003639/0.4495, allocations: 307.1 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4495, allocations: 0 / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003514/0.4498, allocations: 64 kB / 1.082 GB, free: 11.96 MB / 0.8419 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 (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.0001751/0.45, allocations: 99.25 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.4513, allocations: 453.4 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4513, allocations: 3.938 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.4519, allocations: 235.8 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4524, allocations: 50.48 kB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.4538, allocations: 0.6783 MB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.4543, allocations: 0.7985 MB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000288/0.4546, allocations: 62.27 kB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.4547, allocations: 23.42 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4547, allocations: 0 / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.008916/0.4636, allocations: 4.25 MB / 1.088 GB, free: 5.328 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)