Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001322/0.001322, allocations: 179.7 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009331/0.0009331, allocations: 102.8 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 11.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2324, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04676/0.2793, allocations: 52.46 MB / 1.031 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.2974, allocations: 11.39 MB / 1.042 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.301, allocations: 51.62 kB / 1.042 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.3051, allocations: 0.9642 MB / 1.043 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007339/0.3125, allocations: 2.07 MB / 1.045 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.3177, allocations: 1.633 MB / 1.046 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004718/0.3224, allocations: 2.146 MB / 1.049 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.3247, allocations: 0.9632 MB / 1.049 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.3277, allocations: 1.024 MB / 1.05 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.3295, allocations: 0.7195 MB / 1.051 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.3298, allocations: 64 kB / 1.051 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.3327, allocations: 1.088 MB / 1.052 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.3331, allocations: 318.8 kB / 1.053 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.3337, allocations: 340.8 kB / 1.053 GB, free: 236 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.3367, allocations: 2.007 MB / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3367, allocations: 0 / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3367, allocations: 0 / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.02e-05/0.3367, allocations: 0 / 1.055 GB, free: 14.22 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.003436/0.3402, allocations: 1.848 MB / 1.057 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3402, allocations: 8.031 kB / 1.057 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.3404, allocations: 135.3 kB / 1.057 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.3429, allocations: 0.5482 MB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.3455, allocations: 1.333 MB / 1.059 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007451/0.3463, allocations: 277.2 kB / 1.059 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3465, allocations: 88 kB / 1.059 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.349, allocations: 1.197 MB / 1.06 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.349, allocations: 3.938 kB / 1.06 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.3492, allocations: 36 kB / 1.06 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3492, allocations: 20 kB / 1.06 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.3522, allocations: 1.23 MB / 1.061 GB, free: 7.34 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.00696/0.3591, allocations: 4.333 MB / 1.066 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/0.3672, allocations: 1.859 MB / 1.067 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4318/0.799, allocations: 1.151 MB / 1.069 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/0.8009, allocations: 0.4896 MB / 1.069 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 6.082e-06/0.801, allocations: 0 / 1.069 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.004256/0.8052, allocations: 1.275 MB / 1.07 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.8053, allocations: 86.38 kB / 1.07 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/0.8088, allocations: 1.538 MB / 1.072 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.8089, allocations: 40.02 kB / 1.072 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005935/0.8095, allocations: 0.6505 MB / 1.073 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.8098, allocations: 210.2 kB / 1.073 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.8099, allocations: 17.28 kB / 1.073 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.81, allocations: 337.2 kB / 1.073 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.8113, allocations: 461.2 kB / 1.074 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.8128, allocations: 0.6096 MB / 1.074 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.8142, allocations: 489.4 kB / 1.075 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8142, allocations: 2.688 kB / 1.075 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003659/0.8179, allocations: 1.222 MB / 1.076 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.8181, allocations: 0.9087 MB / 1.077 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.8181, allocations: 2.812 kB / 1.077 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.8181, allocations: 5.859 kB / 1.077 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.8193, allocations: 228.1 kB / 1.077 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.8193, allocations: 7.594 kB / 1.077 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.8211, allocations: 253.4 kB / 1.077 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.8212, allocations: 38.94 kB / 1.077 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.8213, allocations: 4.562 kB / 1.077 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003016/0.8243, allocations: 1.057 MB / 1.078 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.8243, allocations: 6.875 kB / 1.078 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.8243, allocations: 6.312 kB / 1.078 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.8254, allocations: 232.7 kB / 1.078 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.8255, allocations: 6.078 kB / 1.078 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.827, allocations: 215.1 kB / 1.079 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.8271, allocations: 33.34 kB / 1.079 GB, free: 85.43 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.0008565/0.828, allocations: 432.4 kB / 1.079 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.8283, allocations: 151.6 kB / 1.079 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.8312, allocations: 1.186 MB / 1.08 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.8313, allocations: 7.359 kB / 1.08 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.8313, allocations: 4.688 kB / 1.08 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.8313, allocations: 3.281 kB / 1.08 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/0.8363, allocations: 2.494 MB / 1.083 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/0.8363, allocations: 2.219 kB / 1.083 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.8371, allocations: 142.5 kB / 1.083 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.8371, allocations: 6.219 kB / 1.083 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.8372, allocations: 22 kB / 1.083 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.8372, allocations: 10.38 kB / 1.083 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.8372, allocations: 3.312 kB / 1.083 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.84, allocations: 1.348 MB / 1.084 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/0.8408, allocations: 370 kB / 1.085 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.841, allocations: 20.39 kB / 1.085 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.8421, allocations: 124.3 kB / 1.085 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.8422, allocations: 59.62 kB / 1.085 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.8423, allocations: 34.38 kB / 1.085 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002046/0.8444, allocations: 1.082 MB / 1.086 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8444, allocations: 0 / 1.086 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002261/0.8466, allocations: 0.6906 MB / 1.087 GB, free: 81.78 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.004561/0.8512, allocations: 3.206 MB / 1.09 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004318/0.8555, allocations: 1.572 MB / 1.091 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.8556, allocations: 0 / 1.091 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.8567, allocations: 472.7 kB / 1.092 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/0.8602, allocations: 0.6045 MB / 1.092 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.8669, allocations: 5.359 MB / 1.098 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.8681, allocations: 1.27 MB / 1.099 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002271/0.8704, allocations: 398.5 kB / 1.099 GB, free: 74.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/0.8712, allocations: 0.559 MB / 1.1 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.8712, allocations: 0 / 1.1 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/0.9431, allocations: 38.71 MB / 1.138 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.9433, allocations: 249 kB / 1.138 GB, free: 47.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/4.461, allocations: 0 / 1.138 GB, free: 47.29 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)