Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004536/0.004536, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001351/0.001351, allocations: 193 kB / 16.67 MB, free: 5.969 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.403/2.403, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 64.12 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5846, allocations: 159.1 MB / 1.22 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05833/0.643, allocations: 62.75 MB / 1.281 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01594/0.6589, allocations: 13.06 MB / 1.294 GB, free: 6.086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.66, allocations: 67.62 kB / 1.294 GB, free: 6.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.6619, allocations: 0.9432 MB / 1.295 GB, free: 5.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003505/0.6654, allocations: 2.021 MB / 1.297 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.6679, allocations: 1.363 MB / 1.298 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003295/0.6712, allocations: 3.489 MB / 1.302 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.6726, allocations: 1.28 MB / 1.303 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.6747, allocations: 1.374 MB / 1.304 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.6758, allocations: 1.08 MB / 1.306 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.676, allocations: 156 kB / 1.306 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.6784, allocations: 1.61 MB / 1.307 GB, free: 8.656 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.6788, allocations: 470.4 kB / 1.308 GB, free: 8.195 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007737/0.6796, allocations: 0.8978 MB / 1.309 GB, free: 7.293 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003102/0.6827, allocations: 2.978 MB / 1.312 GB, free: 4.312 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6827, allocations: 4 kB / 1.312 GB, free: 4.309 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.787e-06/0.6828, allocations: 0 / 1.312 GB, free: 4.309 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.6828, allocations: 3.938 kB / 1.312 GB, free: 4.305 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003166/0.6859, allocations: 2.227 MB / 1.314 GB, free: 2.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.686, allocations: 15.97 kB / 1.314 GB, free: 2.004 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.6861, allocations: 139.6 kB / 1.314 GB, free: 1.859 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.6897, allocations: 0.7177 MB / 1.315 GB, free: 1.141 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.6919, allocations: 1.444 MB / 1.316 GB, free: 15.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.692, allocations: 145.4 kB / 1.316 GB, free: 15.49 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.6922, allocations: 92 kB / 1.316 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.695, allocations: 1.361 MB / 1.317 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.695, allocations: 0 / 1.317 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6952, allocations: 36 kB / 1.318 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.6952, allocations: 24 kB / 1.318 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.699, allocations: 1.491 MB / 1.319 GB, free: 12.45 MB / 1.045 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.00658/0.7056, allocations: 4.79 MB / 1.324 GB, free: 7.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008248/0.7138, allocations: 1.924 MB / 1.326 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.7152, allocations: 0.5467 MB / 1.326 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008347/0.7161, allocations: 1.16 MB / 1.327 GB, free: 3.484 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.7176, allocations: 0.6354 MB / 1.328 GB, free: 2.836 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 1.743e-06/0.7176, allocations: 0 / 1.328 GB, free: 2.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.004386/0.722, allocations: 1.681 MB / 1.329 GB, free: 1.148 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.7221, allocations: 85.67 kB / 1.33 GB, free: 1.047 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.7241, allocations: 1.623 MB / 1.331 GB, free: 15.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/0.7242, allocations: 45.7 kB / 1.331 GB, free: 15.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.7248, allocations: 0.6674 MB / 1.332 GB, free: 14.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.7249, allocations: 222.1 kB / 1.332 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.7253, allocations: 162.6 kB / 1.332 GB, free: 14.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7254, allocations: 337.9 kB / 1.333 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.7271, allocations: 0.5786 MB / 1.333 GB, free: 13.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.7288, allocations: 0.7437 MB / 1.334 GB, free: 12.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.7318, allocations: 1.137 MB / 1.335 GB, free: 11.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7319, allocations: 0 / 1.335 GB, free: 11.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003761/0.7356, allocations: 1.472 MB / 1.336 GB, free: 9.938 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7356, allocations: 8 kB / 1.336 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7357, allocations: 4 kB / 1.336 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7357, allocations: 8 kB / 1.336 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.7369, allocations: 251.8 kB / 1.337 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.7369, allocations: 15.92 kB / 1.337 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.7382, allocations: 227.2 kB / 1.337 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/0.7383, allocations: 47.91 kB / 1.337 GB, free: 9.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001958/0.7403, allocations: 0.857 MB / 1.338 GB, free: 8.523 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001764/0.7421, allocations: 0.7437 MB / 1.338 GB, free: 7.727 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002917/0.745, allocations: 1.129 MB / 1.34 GB, free: 6.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.745, allocations: 4 kB / 1.34 GB, free: 6.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003697/0.7487, allocations: 1.468 MB / 1.341 GB, free: 5.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.7487, allocations: 4 kB / 1.341 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7487, allocations: 7.984 kB / 1.341 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.7487, allocations: 4 kB / 1.341 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.7499, allocations: 243.8 kB / 1.341 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.7499, allocations: 11.94 kB / 1.341 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.7512, allocations: 211.5 kB / 1.341 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.7513, allocations: 31.98 kB / 1.342 GB, free: 4.586 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002063/0.7515, allocations: 226.7 kB / 1.342 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.7518, allocations: 159 kB / 1.342 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/0.7552, allocations: 1.461 MB / 1.343 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.7552, allocations: 7.984 kB / 1.343 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7553, allocations: 0 / 1.343 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7553, allocations: 0 / 1.343 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/0.7604, allocations: 3.008 MB / 1.346 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7604, allocations: 4 kB / 1.346 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009044/0.7613, allocations: 176.1 kB / 1.346 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7613, allocations: 4 kB / 1.346 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.7614, allocations: 23.98 kB / 1.346 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.7614, allocations: 7.938 kB / 1.346 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7614, allocations: 7.938 kB / 1.346 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/0.7646, allocations: 1.464 MB / 1.348 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.7651, allocations: 395.7 kB / 1.348 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.7653, allocations: 23.98 kB / 1.348 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.7665, allocations: 119.8 kB / 1.348 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.7666, allocations: 60.31 kB / 1.348 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.7667, allocations: 39.91 kB / 1.349 GB, free: 13.26 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001552/0.7682, allocations: 1.146 MB / 1.35 GB, free: 12.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7682, allocations: 0 / 1.35 GB, free: 12.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001409/0.7697, allocations: 0.7408 MB / 1.35 GB, free: 11.38 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.005418/0.7751, allocations: 2.684 MB / 1.353 GB, free: 8.816 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005055/0.7801, allocations: 1.96 MB / 1.355 GB, free: 6.859 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7802, allocations: 0 / 1.355 GB, free: 6.859 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.7817, allocations: 0.6004 MB / 1.355 GB, free: 6.258 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.7842, allocations: 0.6529 MB / 1.356 GB, free: 5.613 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.804, allocations: 12.32 MB / 1.368 GB, free: 9.051 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.8048, allocations: 1.238 MB / 1.369 GB, free: 7.785 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001215/0.8061, allocations: 425.8 kB / 1.37 GB, free: 7.383 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/0.8069, allocations: 0.5735 MB / 1.37 GB, free: 6.809 MB / 1.092 GB Notification: Performance of SimCode: time 2.3e-07/0.8069, allocations: 0 / 1.37 GB, free: 6.809 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.252/6.059, allocations: 42.37 MB / 1.412 GB, free: 12.88 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/22.26, allocations: 6.188 kB / 1.412 GB, free: 12.87 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)