Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_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.0009414/0.0009413, 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.007091/0.007091, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.307/2.307, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 12.62 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.256, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05592/0.3119, allocations: 61.21 MB / 1.119 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.3291, allocations: 12.93 MB / 1.131 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.331, allocations: 55.62 kB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.3331, allocations: 0.8042 MB / 1.132 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.338, allocations: 1.82 MB / 1.134 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.341, allocations: 1.231 MB / 1.135 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004643/0.3456, allocations: 4.316 MB / 1.139 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.3473, allocations: 1.058 MB / 1.14 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3495, allocations: 1.143 MB / 1.141 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.3513, allocations: 1.019 MB / 1.142 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.3514, allocations: 67.94 kB / 1.142 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.3545, allocations: 1.505 MB / 1.144 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.3548, allocations: 374.4 kB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008756/0.3557, allocations: 0.8136 MB / 1.145 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.3592, allocations: 2.819 MB / 1.148 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3592, allocations: 4 kB / 1.148 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3592, allocations: 0 / 1.148 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.3592, allocations: 0 / 1.148 GB, free: 9.41 MB / 0.9044 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.003365/0.3626, allocations: 1.875 MB / 1.15 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3626, allocations: 11.97 kB / 1.15 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.3628, allocations: 147.6 kB / 1.15 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.3653, allocations: 0.5491 MB / 1.15 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.3678, allocations: 1.391 MB / 1.152 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/0.3686, allocations: 289.2 kB / 1.152 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.3688, allocations: 88 kB / 1.152 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.3714, allocations: 1.271 MB / 1.153 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3714, allocations: 0 / 1.153 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3715, allocations: 32 kB / 1.153 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.3716, allocations: 28 kB / 1.153 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/0.3749, allocations: 1.343 MB / 1.155 GB, free: 2.23 MB / 0.9044 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.00673/0.3816, allocations: 4.597 MB / 1.159 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008598/0.3902, allocations: 1.971 MB / 1.161 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3913, allocations: 471.5 kB / 1.162 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008515/0.3922, allocations: 1.156 MB / 1.163 GB, free: 9.492 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.3934, allocations: 0.5418 MB / 1.163 GB, free: 8.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.795e-06/0.3934, allocations: 0 / 1.163 GB, free: 8.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.003509/0.3969, allocations: 1.418 MB / 1.165 GB, free: 7.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.397, allocations: 81.67 kB / 1.165 GB, free: 7.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/0.3995, allocations: 1.634 MB / 1.166 GB, free: 5.773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.394e-05/0.3996, allocations: 41.7 kB / 1.166 GB, free: 5.727 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.4002, allocations: 0.6628 MB / 1.167 GB, free: 5.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4004, allocations: 205 kB / 1.167 GB, free: 4.852 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4005, allocations: 65.67 kB / 1.167 GB, free: 4.781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4006, allocations: 337.9 kB / 1.167 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.402, allocations: 0.5094 MB / 1.168 GB, free: 3.938 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.4035, allocations: 0.6726 MB / 1.169 GB, free: 3.211 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.4058, allocations: 1.001 MB / 1.17 GB, free: 2.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4058, allocations: 4 kB / 1.17 GB, free: 2.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003335/0.4092, allocations: 1.343 MB / 1.171 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/0.4093, allocations: 154.2 kB / 1.171 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4093, allocations: 4 kB / 1.171 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.528e-05/0.4093, allocations: 4 kB / 1.171 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.4104, allocations: 243.6 kB / 1.171 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.4105, allocations: 7.938 kB / 1.171 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.412, allocations: 246.9 kB / 1.172 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4122, allocations: 43.97 kB / 1.172 GB, free: 100 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.4122, allocations: 4 kB / 1.172 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003009/0.4152, allocations: 1.167 MB / 1.173 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4152, allocations: 7.938 kB / 1.173 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/0.4152, allocations: 4 kB / 1.173 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4163, allocations: 235.9 kB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4163, allocations: 8 kB / 1.173 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4176, allocations: 211.1 kB / 1.173 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.4177, allocations: 31.98 kB / 1.173 GB, free: 14.43 MB / 0.9356 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.0006659/0.4184, allocations: 440.7 kB / 1.174 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.4186, allocations: 154 kB / 1.174 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.4214, allocations: 1.279 MB / 1.175 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.4214, allocations: 11.98 kB / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4214, allocations: 0 / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4214, allocations: 3.984 kB / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004528/0.426, allocations: 2.746 MB / 1.178 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.426, allocations: 4 kB / 1.178 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.4267, allocations: 148 kB / 1.178 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.4267, allocations: 7.938 kB / 1.178 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.4268, allocations: 23.98 kB / 1.178 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4268, allocations: 4 kB / 1.178 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4268, allocations: 4 kB / 1.178 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.4293, allocations: 1.28 MB / 1.179 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.4299, allocations: 402.7 kB / 1.18 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.4301, allocations: 19.98 kB / 1.18 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.4313, allocations: 127.9 kB / 1.18 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4314, allocations: 52.31 kB / 1.18 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.4315, allocations: 31.97 kB / 1.18 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001841/0.4334, allocations: 1.161 MB / 1.181 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4334, allocations: 0 / 1.181 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00171/0.4351, allocations: 0.7135 MB / 1.182 GB, free: 5.684 MB / 0.9356 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.004321/0.4394, allocations: 2.506 MB / 1.184 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004246/0.4437, allocations: 1.726 MB / 1.186 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4437, allocations: 8.062 kB / 1.186 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.4448, allocations: 0.5028 MB / 1.186 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.4485, allocations: 0.6327 MB / 1.187 GB, free: 456 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/0.4722, allocations: 13.35 MB / 1.2 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/0.473, allocations: 1.239 MB / 1.201 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001666/0.4747, allocations: 412 kB / 1.201 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008469/0.4755, allocations: 0.5813 MB / 1.202 GB, free: 384 kB / 0.9512 GB Notification: Performance of SimCode: time 9.01e-07/0.4755, allocations: 0 / 1.202 GB, free: 384 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1384/0.614, allocations: 40.94 MB / 1.242 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.6142, allocations: 276.2 kB / 1.242 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.35, allocations: 7.938 kB / 1.242 GB, free: 7.609 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)