Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_9_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.001622/0.001622, allocations: 108 kB / 15.61 MB, free: 152 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.001858/0.001858, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 60.03 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4877, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.0523/0.5401, allocations: 62.77 MB / 1.011 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.556, allocations: 13.05 MB / 1.024 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.5574, allocations: 67.62 kB / 1.024 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.5593, allocations: 0.9394 MB / 1.025 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.563, allocations: 1.986 MB / 1.027 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.5657, allocations: 1.377 MB / 1.028 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00302/0.5687, allocations: 3.477 MB / 1.031 GB, free: 13.92 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.5701, allocations: 1.265 MB / 1.033 GB, free: 12.63 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.5722, allocations: 1.363 MB / 1.034 GB, free: 11.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.5733, allocations: 1.071 MB / 1.035 GB, free: 10.19 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.5735, allocations: 160 kB / 1.035 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.576, allocations: 1.599 MB / 1.037 GB, free: 8.434 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.5763, allocations: 470.4 kB / 1.037 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007096/0.577, allocations: 0.8978 MB / 1.038 GB, free: 7.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.5799, allocations: 2.925 MB / 1.041 GB, free: 4.137 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5799, allocations: 0 / 1.041 GB, free: 4.137 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5799, allocations: 4 kB / 1.041 GB, free: 4.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.5799, allocations: 4 kB / 1.041 GB, free: 4.129 MB / 0.795 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.003155/0.5831, allocations: 2.172 MB / 1.043 GB, free: 1.898 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.5831, allocations: 16.03 kB / 1.043 GB, free: 1.883 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.5833, allocations: 135.6 kB / 1.043 GB, free: 1.742 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.5856, allocations: 494.2 kB / 1.044 GB, free: 1.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.5877, allocations: 1.364 MB / 1.045 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007336/0.5885, allocations: 257.3 kB / 1.045 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5886, allocations: 88 kB / 1.045 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.591, allocations: 1.248 MB / 1.047 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.5911, allocations: 4 kB / 1.047 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/0.5912, allocations: 36 kB / 1.047 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.5912, allocations: 20 kB / 1.047 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.5943, allocations: 1.292 MB / 1.048 GB, free: 12.86 MB / 0.8106 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.006056/0.6004, allocations: 4.566 MB / 1.052 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008049/0.6084, allocations: 1.737 MB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00096/0.6094, allocations: 458.3 kB / 1.054 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/0.6101, allocations: 1.148 MB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.6113, allocations: 0.5261 MB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.374e-06/0.6113, allocations: 0 / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.003181/0.6145, allocations: 1.364 MB / 1.057 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.6145, allocations: 85.67 kB / 1.057 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.6168, allocations: 1.642 MB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.6169, allocations: 37.7 kB / 1.059 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/0.6174, allocations: 0.6511 MB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.6176, allocations: 213.2 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.6179, allocations: 162.5 kB / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.618, allocations: 341.9 kB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.6193, allocations: 496.5 kB / 1.061 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.6208, allocations: 0.6462 MB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/0.6231, allocations: 0.9578 MB / 1.062 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6231, allocations: 4 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003148/0.6263, allocations: 1.284 MB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6263, allocations: 6.031 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6263, allocations: 4 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6263, allocations: 8.234 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.6274, allocations: 223.7 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6274, allocations: 4 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.6288, allocations: 206.9 kB / 1.064 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.6289, allocations: 35.97 kB / 1.064 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001623/0.6305, allocations: 0.7673 MB / 1.065 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001416/0.6319, allocations: 0.6489 MB / 1.066 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002204/0.6341, allocations: 0.9577 MB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.6342, allocations: 0 / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003069/0.6372, allocations: 1.276 MB / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6372, allocations: 8 kB / 1.068 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6373, allocations: 0 / 1.068 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.6373, allocations: 11.94 kB / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.6383, allocations: 219.9 kB / 1.068 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.6383, allocations: 8 kB / 1.068 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.6397, allocations: 179.4 kB / 1.068 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.6397, allocations: 35.97 kB / 1.068 GB, free: 7.168 MB / 0.8262 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.0002197/0.64, allocations: 228 kB / 1.068 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.6402, allocations: 166 kB / 1.069 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.6428, allocations: 1.234 MB / 1.07 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.6429, allocations: 11.98 kB / 1.07 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6429, allocations: 0 / 1.07 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6429, allocations: 3.938 kB / 1.07 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004323/0.6472, allocations: 2.719 MB / 1.072 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6472, allocations: 4 kB / 1.072 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.6481, allocations: 144.1 kB / 1.073 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.6482, allocations: 4 kB / 1.073 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.6482, allocations: 19.98 kB / 1.073 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.6482, allocations: 4 kB / 1.073 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6482, allocations: 4 kB / 1.073 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.6506, allocations: 1.253 MB / 1.074 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.6511, allocations: 382.8 kB / 1.074 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.6514, allocations: 23.98 kB / 1.074 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.6524, allocations: 91.89 kB / 1.074 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.6526, allocations: 56.25 kB / 1.074 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/0.6526, allocations: 35.97 kB / 1.074 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001674/0.6543, allocations: 1.157 MB / 1.076 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6543, allocations: 0 / 1.076 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001574/0.6559, allocations: 0.7176 MB / 1.076 GB, free: 14.76 MB / 0.8419 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.0041/0.66, allocations: 2.478 MB / 1.079 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004209/0.6642, allocations: 1.738 MB / 1.08 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6643, allocations: 0 / 1.08 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6653, allocations: 494.9 kB / 1.081 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.6682, allocations: 0.6635 MB / 1.082 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/0.6894, allocations: 12.77 MB / 1.094 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/0.6904, allocations: 1.25 MB / 1.095 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001731/0.6922, allocations: 401.9 kB / 1.096 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000866/0.693, allocations: 0.5774 MB / 1.096 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of SimCode: time 8.81e-07/0.6931, allocations: 0 / 1.096 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07562/0.7687, allocations: 41.4 MB / 1.137 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.038/9.807, allocations: 13.41 kB / 1.137 GB, free: 1.082 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)