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.0008658/0.0008658, allocations: 98.27 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.006331/0.006331, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.386/1.386, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.495/1.495, allocations: 252 MB / 0.5105 GB, free: 4.641 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.0004942/0.0004941, allocations: 20 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5333, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002633/0.536, allocations: 2.102 MB / 0.7308 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.5381, allocations: 1.691 MB / 0.7324 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.5382, allocations: 0 / 0.7324 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007016/0.539, allocations: 266.8 kB / 0.7327 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.5391, allocations: 67.47 kB / 0.7327 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.5394, allocations: 95.84 kB / 0.7328 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.5398, allocations: 322.7 kB / 0.7331 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.5399, allocations: 48.72 kB / 0.7332 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.5401, allocations: 119.5 kB / 0.7333 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.5404, allocations: 171.4 kB / 0.7335 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.5405, allocations: 20 kB / 0.7335 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.5406, allocations: 59.95 kB / 0.7335 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.5407, allocations: 103.7 kB / 0.7336 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.5409, allocations: 192.7 kB / 0.7338 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.5413, allocations: 480.3 kB / 0.7343 GB, free: 5.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5413, allocations: 0 / 0.7343 GB, free: 5.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5414, allocations: 0 / 0.7343 GB, free: 5.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.5414, allocations: 4 kB / 0.7343 GB, free: 5.496 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.00114/0.5425, allocations: 0.6617 MB / 0.7349 GB, free: 4.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5426, allocations: 8.031 kB / 0.7349 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.5435, allocations: 176.3 kB / 0.7351 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.5439, allocations: 350.2 kB / 0.7354 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.544, allocations: 92.11 kB / 0.7355 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.544, allocations: 12.38 kB / 0.7355 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.5448, allocations: 316.8 kB / 0.7358 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5448, allocations: 0 / 0.7358 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.5448, allocations: 4 kB / 0.7358 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5448, allocations: 4 kB / 0.7359 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.546, allocations: 464.4 kB / 0.7363 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.5475, allocations: 0.8784 MB / 0.7372 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.5482, allocations: 294.4 kB / 0.7374 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.5488, allocations: 236.7 kB / 0.7377 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.5488, allocations: 4 kB / 0.7377 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5488, allocations: 38.48 kB / 0.7377 GB, free: 1.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 2.355e-06/0.5488, allocations: 0 / 0.7377 GB, free: 1.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.001848/0.5507, allocations: 0.7099 MB / 0.7384 GB, free: 1.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.5508, allocations: 59.28 kB / 0.7385 GB, free: 1.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.5512, allocations: 425.6 kB / 0.7389 GB, free: 0.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.5512, allocations: 29.7 kB / 0.7389 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.5514, allocations: 180 kB / 0.7391 GB, free: 420 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.5514, allocations: 67.08 kB / 0.7391 GB, free: 352 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.5515, allocations: 21.72 kB / 0.7391 GB, free: 324 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5516, allocations: 342.8 kB / 0.7395 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.5522, allocations: 215.9 kB / 0.7397 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.5527, allocations: 259.2 kB / 0.7399 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.5538, allocations: 415 kB / 0.7403 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5538, allocations: 0 / 0.7403 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001232/0.555, allocations: 0.493 MB / 0.7408 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5551, allocations: 6.031 kB / 0.7408 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5551, allocations: 4.047 kB / 0.7408 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5551, allocations: 11.97 kB / 0.7408 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.5556, allocations: 67.88 kB / 0.7409 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5557, allocations: 3.938 kB / 0.7409 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.556, allocations: 59.78 kB / 0.7409 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.5561, allocations: 4 kB / 0.7409 GB, free: 14.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.5563, allocations: 165.8 kB / 0.7411 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.5564, allocations: 31.62 kB / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.5565, allocations: 43.59 kB / 0.7412 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5565, allocations: 4 kB / 0.7412 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5565, allocations: 7.938 kB / 0.7412 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5565, allocations: 3.984 kB / 0.7412 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.5571, allocations: 478.7 kB / 0.7417 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5571, allocations: 0 / 0.7417 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.5576, allocations: 75.86 kB / 0.7417 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5576, allocations: 4 kB / 0.7417 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.5576, allocations: 7.984 kB / 0.7417 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.5576, allocations: 0 / 0.7417 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5576, allocations: 7.938 kB / 0.7417 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.5589, allocations: 0.5848 MB / 0.7423 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.559, allocations: 124.6 kB / 0.7424 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.5591, allocations: 0 / 0.7424 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.5594, allocations: 47.95 kB / 0.7425 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5596, allocations: 23.91 kB / 0.7425 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.5596, allocations: 7.984 kB / 0.7425 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004082/0.56, allocations: 311.1 kB / 0.7428 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.56, allocations: 0 / 0.7428 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003339/0.5604, allocations: 63.94 kB / 0.7429 GB, free: 12.37 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 (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.0001481/0.5605, allocations: 109.1 kB / 0.743 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.5618, allocations: 484.7 kB / 0.7434 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5618, allocations: 0 / 0.7434 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006091/0.5625, allocations: 251.8 kB / 0.7437 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.5629, allocations: 42.48 kB / 0.7437 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5642, allocations: 0.7963 MB / 0.7445 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.5648, allocations: 0.7872 MB / 0.7453 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002668/0.5651, allocations: 66.25 kB / 0.7453 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.5653, allocations: 23.42 kB / 0.7453 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.5653, allocations: 0 / 0.7453 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of Templates: time 0.007608/0.5729, allocations: 3.984 MB / 0.7492 GB, free: 5.852 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: