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 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: "" <> 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.005076/0.005076, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001355/0.001355, allocations: 201.2 kB / 16.68 MB, free: 5.973 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2574, allocations: 162.3 MB / 1.242 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.5192/0.7766, allocations: 62.87 MB / 1.303 GB, free: 6.293 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.7936, allocations: 13.06 MB / 1.316 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.7955, allocations: 66.94 kB / 1.316 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.7977, allocations: 0.9471 MB / 1.317 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.8021, allocations: 2.013 MB / 1.319 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.8052, allocations: 1.361 MB / 1.32 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.8092, allocations: 3.483 MB / 1.324 GB, free: 8.699 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.8108, allocations: 1.272 MB / 1.325 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.8137, allocations: 1.503 MB / 1.326 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.8149, allocations: 1.061 MB / 1.327 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.8152, allocations: 157.5 kB / 1.328 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.8182, allocations: 1.608 MB / 1.329 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.8186, allocations: 467.6 kB / 1.33 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008694/0.8195, allocations: 0.8902 MB / 1.33 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.8234, allocations: 2.988 MB / 1.333 GB, free: 4.328 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8234, allocations: 0 / 1.333 GB, free: 4.328 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8234, allocations: 1.375 kB / 1.333 GB, free: 4.328 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.8234, allocations: 0 / 1.333 GB, free: 4.328 MB / 1.045 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.003559/0.827, allocations: 2.244 MB / 1.336 GB, free: 2.844 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.827, allocations: 9.656 kB / 1.336 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.8272, allocations: 140.6 kB / 1.336 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.8308, allocations: 0.7185 MB / 1.336 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.8332, allocations: 1.437 MB / 1.338 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.8334, allocations: 144.7 kB / 1.338 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.8336, allocations: 97 kB / 1.338 GB, free: 1.652 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.8365, allocations: 1.357 MB / 1.339 GB, free: 1.113 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.8365, allocations: 1.156 kB / 1.339 GB, free: 1.113 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.8366, allocations: 32.23 kB / 1.339 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.8367, allocations: 22.09 kB / 1.339 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00383/0.8405, allocations: 1.502 MB / 1.341 GB, free: 0.6094 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.006829/0.8473, allocations: 4.792 MB / 1.346 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008179/0.8555, allocations: 1.93 MB / 1.347 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.8569, allocations: 0.5497 MB / 1.348 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008485/0.8578, allocations: 1.158 MB / 1.349 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.8594, allocations: 0.634 MB / 1.35 GB, free: 10.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 2.334e-06/0.8594, allocations: 0 / 1.35 GB, free: 10.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.004489/0.8639, allocations: 1.679 MB / 1.351 GB, free: 9.727 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.8639, allocations: 100.5 kB / 1.351 GB, free: 9.617 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.866, allocations: 1.617 MB / 1.353 GB, free: 8.754 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/0.8661, allocations: 47.34 kB / 1.353 GB, free: 8.707 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/0.8667, allocations: 0.6631 MB / 1.354 GB, free: 8.117 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.8669, allocations: 218.8 kB / 1.354 GB, free: 7.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.8672, allocations: 166.7 kB / 1.354 GB, free: 7.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8673, allocations: 336.8 kB / 1.354 GB, free: 7.504 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.869, allocations: 0.5834 MB / 1.355 GB, free: 7.207 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.8708, allocations: 0.7431 MB / 1.356 GB, free: 6.738 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.8738, allocations: 1.138 MB / 1.357 GB, free: 6.109 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8738, allocations: 1.188 kB / 1.357 GB, free: 6.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003805/0.8776, allocations: 1.466 MB / 1.358 GB, free: 5.375 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8776, allocations: 5.906 kB / 1.358 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8776, allocations: 6.062 kB / 1.358 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8777, allocations: 6 kB / 1.358 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.8788, allocations: 253.4 kB / 1.359 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.8789, allocations: 9.453 kB / 1.359 GB, free: 5.289 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.8803, allocations: 227.3 kB / 1.359 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.8804, allocations: 45.11 kB / 1.359 GB, free: 5.152 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001954/0.8824, allocations: 0.859 MB / 1.36 GB, free: 4.664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00175/0.8841, allocations: 0.7388 MB / 1.36 GB, free: 4.199 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002916/0.8871, allocations: 1.144 MB / 1.361 GB, free: 3.566 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.8871, allocations: 1.5 kB / 1.361 GB, free: 3.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003727/0.8908, allocations: 1.467 MB / 1.363 GB, free: 2.828 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.8908, allocations: 6.625 kB / 1.363 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8908, allocations: 2.125 kB / 1.363 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.8908, allocations: 5.25 kB / 1.363 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.892, allocations: 253.3 kB / 1.363 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.892, allocations: 6.438 kB / 1.363 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8934, allocations: 206.8 kB / 1.363 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.8935, allocations: 35.97 kB / 1.363 GB, free: 2.637 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.0002373/0.8938, allocations: 227.8 kB / 1.364 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.894, allocations: 168.5 kB / 1.364 GB, free: 2.324 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/0.8975, allocations: 1.452 MB / 1.365 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.8975, allocations: 14.98 kB / 1.365 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8975, allocations: 0 / 1.365 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.8975, allocations: 5.266 kB / 1.365 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/0.9028, allocations: 3.014 MB / 1.368 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.9028, allocations: 6.344 kB / 1.368 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008966/0.9037, allocations: 173.8 kB / 1.368 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.9037, allocations: 4.75 kB / 1.368 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.9038, allocations: 21.11 kB / 1.368 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.9038, allocations: 9.203 kB / 1.368 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.9038, allocations: 7.531 kB / 1.368 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.9071, allocations: 1.454 MB / 1.37 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.9076, allocations: 407.6 kB / 1.37 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.9078, allocations: 15.69 kB / 1.37 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.909, allocations: 129.2 kB / 1.37 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.9091, allocations: 48.69 kB / 1.37 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.9092, allocations: 41.12 kB / 1.37 GB, free: 14.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001581/0.9108, allocations: 1.148 MB / 1.372 GB, free: 13.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9108, allocations: 0 / 1.372 GB, free: 13.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001657/0.9124, allocations: 0.7356 MB / 1.372 GB, free: 13.3 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.005508/0.918, allocations: 2.685 MB / 1.375 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005034/0.923, allocations: 1.954 MB / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.923, allocations: 1 kB / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.9244, allocations: 0.5992 MB / 1.377 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.9271, allocations: 0.6614 MB / 1.378 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/0.9475, allocations: 12.33 MB / 1.39 GB, free: 14.54 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.9484, allocations: 1.231 MB / 1.391 GB, free: 13.29 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001405/0.9498, allocations: 425.3 kB / 1.392 GB, free: 12.88 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/0.9506, allocations: 0.5813 MB / 1.392 GB, free: 12.3 MB / 1.092 GB Notification: Performance of SimCode: time 6.51e-07/0.9506, allocations: 4 kB / 1.392 GB, free: 12.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.511/4.462, allocations: 42.37 MB / 1.434 GB, free: 2.422 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.33/30.79, allocations: 8.188 kB / 1.434 GB, free: 2.418 MB / 1.123 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)