Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.749/2.749, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 181.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001102, allocations: 96.59 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005115, allocations: 16.61 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2206, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.1052/0.3258, allocations: 52.46 MB / 1.03 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03362/0.3595, allocations: 11.38 MB / 1.041 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00281/0.3624, allocations: 55.62 kB / 1.041 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00493/0.3674, allocations: 0.9681 MB / 1.042 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009216/0.3766, allocations: 2.064 MB / 1.044 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007587/0.3843, allocations: 1.632 MB / 1.045 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005978/0.3903, allocations: 2.15 MB / 1.047 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.3928, allocations: 0.9593 MB / 1.048 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.3961, allocations: 1.02 MB / 1.049 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.3983, allocations: 0.7272 MB / 1.05 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000498/0.3988, allocations: 60 kB / 1.05 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.4033, allocations: 1.088 MB / 1.051 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008363/0.4042, allocations: 318.7 kB / 1.051 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.405, allocations: 340.8 kB / 1.052 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.4098, allocations: 2.003 MB / 1.054 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4099, allocations: 0 / 1.054 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4099, allocations: 0 / 1.054 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.142e-05/0.41, allocations: 0 / 1.054 GB, free: 14.93 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005753/0.4157, allocations: 1.84 MB / 1.055 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.4158, allocations: 12.03 kB / 1.055 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004798/0.4163, allocations: 139.2 kB / 1.056 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/0.4209, allocations: 0.5482 MB / 1.056 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.4253, allocations: 1.333 MB / 1.057 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001398/0.4268, allocations: 281.2 kB / 1.058 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/0.4271, allocations: 91.94 kB / 1.058 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004724/0.4319, allocations: 1.193 MB / 1.059 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.4319, allocations: 7.875 kB / 1.059 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.4321, allocations: 32 kB / 1.059 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.4322, allocations: 20 kB / 1.059 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00604/0.4382, allocations: 1.23 MB / 1.06 GB, free: 8.047 MB / 0.6823 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.0124/0.4507, allocations: 4.336 MB / 1.064 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/0.466, allocations: 1.868 MB / 1.066 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.4674, allocations: 1.152 MB / 1.067 GB, free: 160 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6694/1.137, allocations: 498.2 kB / 1.068 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 8.216e-06/1.137, allocations: 0 / 1.068 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.008973/1.146, allocations: 1.274 MB / 1.069 GB, free: 90 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/1.146, allocations: 85.53 kB / 1.069 GB, free: 89.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/1.15, allocations: 1.528 MB / 1.071 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002338/1.151, allocations: 44.59 kB / 1.071 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008253/1.151, allocations: 0.658 MB / 1.071 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00043/1.152, allocations: 207.4 kB / 1.072 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/1.152, allocations: 14.78 kB / 1.072 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/1.152, allocations: 330 kB / 1.072 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/1.155, allocations: 458.7 kB / 1.072 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/1.158, allocations: 0.6102 MB / 1.073 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/1.16, allocations: 494.1 kB / 1.073 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.161, allocations: 1.062 kB / 1.073 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006313/1.167, allocations: 1.225 MB / 1.075 GB, free: 87.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/1.167, allocations: 0.9106 MB / 1.076 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.167, allocations: 2.688 kB / 1.076 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/1.167, allocations: 5.594 kB / 1.076 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/1.169, allocations: 233.9 kB / 1.076 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.204e-05/1.17, allocations: 5.734 kB / 1.076 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/1.173, allocations: 250.5 kB / 1.076 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/1.173, allocations: 33.33 kB / 1.076 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.173, allocations: 8.391 kB / 1.076 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005767/1.179, allocations: 1.065 MB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.179, allocations: 2.625 kB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.179, allocations: 8.594 kB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.181, allocations: 228 kB / 1.077 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.181, allocations: 10.23 kB / 1.077 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.184, allocations: 211.3 kB / 1.078 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/1.184, allocations: 37.23 kB / 1.078 GB, free: 86.04 MB / 0.6823 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001211/1.186, allocations: 424.9 kB / 1.078 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/1.186, allocations: 158.1 kB / 1.078 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/1.191, allocations: 1.188 MB / 1.079 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/1.191, allocations: 8.109 kB / 1.079 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.191, allocations: 2.297 kB / 1.079 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/1.191, allocations: 3.469 kB / 1.079 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009222/1.201, allocations: 2.492 MB / 1.082 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.201, allocations: 3.031 kB / 1.082 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.202, allocations: 142 kB / 1.082 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/1.202, allocations: 5.438 kB / 1.082 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/1.202, allocations: 21.86 kB / 1.082 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/1.202, allocations: 9.797 kB / 1.082 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.202, allocations: 8.484 kB / 1.082 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/1.207, allocations: 1.339 MB / 1.083 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.208, allocations: 370.4 kB / 1.084 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/1.209, allocations: 16.25 kB / 1.084 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/1.211, allocations: 131.2 kB / 1.084 GB, free: 82.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/1.211, allocations: 55.69 kB / 1.084 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.212, allocations: 33.23 kB / 1.084 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003348/1.215, allocations: 1.093 MB / 1.085 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/1.215, allocations: 0 / 1.085 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003819/1.219, allocations: 0.6889 MB / 1.086 GB, free: 82.39 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007647/1.227, allocations: 3.203 MB / 1.089 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007694/1.234, allocations: 1.564 MB / 1.09 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.234, allocations: 5.094 kB / 1.09 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.236, allocations: 471.5 kB / 1.091 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005755/1.242, allocations: 0.6085 MB / 1.091 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.253, allocations: 5.359 MB / 1.096 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.254, allocations: 1.267 MB / 1.098 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00346/1.258, allocations: 395.8 kB / 1.098 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/1.26, allocations: 0.559 MB / 1.099 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/1.26, allocations: 4 kB / 1.099 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.4, allocations: 38.7 MB / 1.136 GB, free: 49.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003692/1.401, allocations: 240.4 kB / 1.137 GB, free: 48.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.194/5.595, allocations: 3.75 kB / 1.137 GB, free: 48.83 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)