Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 185.1 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.5777 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008804/0.0008803, allocations: 91.22 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004298, allocations: 11.58 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2527, allocations: 106.4 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04269/0.2954, allocations: 57.79 MB / 0.9567 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.3124, allocations: 12.3 MB / 0.9688 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/0.3154, allocations: 55.62 kB / 0.9688 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.3185, allocations: 0.7767 MB / 0.9696 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006004/0.3245, allocations: 1.542 MB / 0.9711 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003966/0.3285, allocations: 1.038 MB / 0.9721 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005697/0.3342, allocations: 3.707 MB / 0.9757 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.336, allocations: 0.9318 MB / 0.9766 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.3386, allocations: 1.085 MB / 0.9777 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.3401, allocations: 0.9606 MB / 0.9786 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3403, allocations: 64 kB / 0.9787 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.3431, allocations: 1.173 MB / 0.9798 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.3435, allocations: 350.6 kB / 0.9802 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.344, allocations: 340.8 kB / 0.9805 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.3465, allocations: 2.116 MB / 0.9825 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3465, allocations: 0 / 0.9825 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3465, allocations: 0 / 0.9825 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.3465, allocations: 0 / 0.9825 GB, free: 11.73 MB / 0.6355 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.003907/0.3505, allocations: 1.879 MB / 0.9844 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3505, allocations: 8.031 kB / 0.9844 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.3507, allocations: 139.3 kB / 0.9845 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.3532, allocations: 0.552 MB / 0.9851 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.3561, allocations: 1.325 MB / 0.9864 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008076/0.357, allocations: 273.2 kB / 0.9866 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3571, allocations: 88 kB / 0.9867 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.3599, allocations: 1.252 MB / 0.9879 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.3599, allocations: 4 kB / 0.9879 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.36, allocations: 36 kB / 0.988 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.3601, allocations: 23.98 kB / 0.988 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.3633, allocations: 1.327 MB / 0.9893 GB, free: 4.672 MB / 0.6355 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.007884/0.3712, allocations: 4.543 MB / 0.9937 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008295/0.3795, allocations: 1.96 MB / 0.9956 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.3807, allocations: 470.1 kB / 0.9961 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.3818, allocations: 1.156 MB / 0.9972 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.3831, allocations: 0.5417 MB / 0.9977 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 4.408e-06/0.3831, allocations: 0 / 0.9977 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.003743/0.3868, allocations: 1.411 MB / 0.9991 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.3869, allocations: 85.67 kB / 0.9992 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.3897, allocations: 1.623 MB / 1.001 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.3898, allocations: 37.7 kB / 1.001 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.3905, allocations: 0.6434 MB / 1.001 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.3907, allocations: 209 kB / 1.002 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.3908, allocations: 12 kB / 1.002 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.391, allocations: 345.9 kB / 1.002 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.3923, allocations: 0.4899 MB / 1.002 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.3938, allocations: 0.658 MB / 1.003 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.3952, allocations: 0.534 MB / 1.004 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3952, allocations: 3.953 kB / 1.004 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003457/0.3987, allocations: 1.311 MB / 1.005 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.3988, allocations: 162.3 kB / 1.005 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3988, allocations: 0 / 1.005 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.3989, allocations: 8 kB / 1.005 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.4, allocations: 231.7 kB / 1.005 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.4, allocations: 4 kB / 1.005 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.402, allocations: 258.9 kB / 1.006 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4021, allocations: 31.98 kB / 1.006 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4021, allocations: 4 kB / 1.006 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002939/0.4051, allocations: 1.155 MB / 1.007 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4051, allocations: 3.953 kB / 1.007 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.4051, allocations: 11.94 kB / 1.007 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4061, allocations: 228 kB / 1.007 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4062, allocations: 7.984 kB / 1.007 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.4078, allocations: 207.1 kB / 1.007 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.4079, allocations: 35.98 kB / 1.007 GB, free: 1.617 MB / 0.6511 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 (85): * Single equations (assignments): 85 * 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.0009075/0.4088, allocations: 430.1 kB / 1.008 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.4091, allocations: 154 kB / 1.008 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.412, allocations: 1.281 MB / 1.009 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.4121, allocations: 8 kB / 1.009 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4121, allocations: 0 / 1.009 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4121, allocations: 3.984 kB / 1.009 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.4171, allocations: 2.723 MB / 1.012 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4171, allocations: 4 kB / 1.012 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/0.4178, allocations: 152.1 kB / 1.012 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.4178, allocations: 4 kB / 1.012 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.4179, allocations: 19.98 kB / 1.012 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.4179, allocations: 4 kB / 1.012 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.4179, allocations: 7.938 kB / 1.012 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.4205, allocations: 1.284 MB / 1.013 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/0.4213, allocations: 394.8 kB / 1.013 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.4215, allocations: 20 kB / 1.013 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.4226, allocations: 127.8 kB / 1.014 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4228, allocations: 56.31 kB / 1.014 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.4229, allocations: 31.97 kB / 1.014 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002102/0.425, allocations: 1.146 MB / 1.015 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.425, allocations: 3.938 kB / 1.015 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002194/0.4272, allocations: 0.6863 MB / 1.015 GB, free: 8.934 MB / 0.6667 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.004752/0.432, allocations: 2.454 MB / 1.018 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004391/0.4364, allocations: 1.699 MB / 1.02 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.4364, allocations: 0 / 1.02 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.4375, allocations: 0.5145 MB / 1.02 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/0.4417, allocations: 0.6196 MB / 1.021 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/0.4648, allocations: 9.539 MB / 1.03 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.4662, allocations: 1.235 MB / 1.031 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002225/0.4685, allocations: 411.2 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.4695, allocations: 0.5617 MB / 1.032 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/0.4695, allocations: 0 / 1.032 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5489/1.018, allocations: 40 MB / 1.071 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.019, allocations: 258.9 kB / 1.071 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.565/4.584, allocations: 2.953 kB / 1.071 GB, free: 143.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)