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: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001142/0.001142, allocations: 187.5 kB / 371.9 MB, free: 10.28 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.468/1.468, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0007694/0.0007694, allocations: 93.56 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 12.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2017, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04222/0.244, allocations: 52.45 MB / 1.031 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.2602, allocations: 11.4 MB / 1.042 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.2622, allocations: 51.62 kB / 1.042 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.2651, allocations: 0.9681 MB / 1.043 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005963/0.2711, allocations: 2.062 MB / 1.045 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.2755, allocations: 1.638 MB / 1.046 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.2792, allocations: 2.144 MB / 1.048 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.2805, allocations: 0.9477 MB / 1.049 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.2823, allocations: 1.024 MB / 1.05 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009023/0.2832, allocations: 0.7388 MB / 1.051 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.2833, allocations: 60 kB / 1.051 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.2855, allocations: 1.084 MB / 1.052 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.2858, allocations: 322.8 kB / 1.053 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.2862, allocations: 336.8 kB / 1.053 GB, free: 328 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.2884, allocations: 2.011 MB / 1.055 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2885, allocations: 0 / 1.055 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2885, allocations: 0 / 1.055 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.2885, allocations: 0 / 1.055 GB, free: 14.3 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.003148/0.2917, allocations: 1.832 MB / 1.057 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.2917, allocations: 12.03 kB / 1.057 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.2941, allocations: 0.5482 MB / 1.057 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.2966, allocations: 1.337 MB / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007495/0.2973, allocations: 277.2 kB / 1.059 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.2975, allocations: 88 kB / 1.059 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.3, allocations: 1.197 MB / 1.06 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3, allocations: 0 / 1.06 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.3001, allocations: 36 kB / 1.06 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3001, allocations: 24 kB / 1.06 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.3031, allocations: 1.23 MB / 1.061 GB, free: 7.574 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.0067/0.3098, allocations: 4.339 MB / 1.065 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007999/0.3179, allocations: 1.868 MB / 1.067 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3883/0.7062, allocations: 1.145 MB / 1.068 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/0.7077, allocations: 0.4892 MB / 1.069 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/0.7078, allocations: 0 / 1.069 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.004069/0.7118, allocations: 1.276 MB / 1.07 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.7119, allocations: 85.48 kB / 1.07 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.7146, allocations: 1.533 MB / 1.072 GB, free: 89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.7147, allocations: 43.77 kB / 1.072 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.7153, allocations: 0.6488 MB / 1.072 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.7155, allocations: 216 kB / 1.073 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.7155, allocations: 11.25 kB / 1.073 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.7156, allocations: 337.2 kB / 1.073 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.717, allocations: 463 kB / 1.073 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.7185, allocations: 0.6087 MB / 1.074 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.7199, allocations: 490.9 kB / 1.074 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.7199, allocations: 2.969 kB / 1.074 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003318/0.7232, allocations: 1.227 MB / 1.076 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/0.7234, allocations: 0.9037 MB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7235, allocations: 2.656 kB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.7235, allocations: 6.875 kB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.7246, allocations: 228 kB / 1.077 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.7247, allocations: 11.02 kB / 1.077 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.7263, allocations: 251.5 kB / 1.077 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.7264, allocations: 34.2 kB / 1.077 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.7264, allocations: 4.75 kB / 1.077 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002946/0.7294, allocations: 1.053 MB / 1.078 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.7294, allocations: 6.922 kB / 1.078 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.7294, allocations: 5.859 kB / 1.078 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.7305, allocations: 236.4 kB / 1.078 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7305, allocations: 6.266 kB / 1.078 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7319, allocations: 211.2 kB / 1.079 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.732, allocations: 34.02 kB / 1.079 GB, free: 85.64 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.0007332/0.7327, allocations: 434.1 kB / 1.079 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.733, allocations: 151.4 kB / 1.079 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.7358, allocations: 1.182 MB / 1.08 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.7358, allocations: 11.14 kB / 1.08 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7358, allocations: 1.969 kB / 1.08 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7359, allocations: 9.391 kB / 1.08 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.7404, allocations: 2.492 MB / 1.083 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.7404, allocations: 3.438 kB / 1.083 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007164/0.7412, allocations: 141.7 kB / 1.083 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.7412, allocations: 6.797 kB / 1.083 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.7413, allocations: 20.38 kB / 1.083 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.7413, allocations: 14.45 kB / 1.083 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.7413, allocations: 2.031 kB / 1.083 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.7437, allocations: 1.338 MB / 1.084 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006357/0.7444, allocations: 380 kB / 1.085 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.7446, allocations: 16.78 kB / 1.085 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.7457, allocations: 121.6 kB / 1.085 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7458, allocations: 62.58 kB / 1.085 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.7459, allocations: 31.92 kB / 1.085 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001878/0.7478, allocations: 1.082 MB / 1.086 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.7478, allocations: 4 kB / 1.086 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001872/0.7497, allocations: 0.6902 MB / 1.087 GB, free: 81.98 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.001564/0.7513, allocations: 0.7633 MB / 1.087 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004079/0.7554, allocations: 1.568 MB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7554, allocations: 1.094 kB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.7564, allocations: 470.2 kB / 1.089 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/0.7594, allocations: 0.6172 MB / 1.09 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.7636, allocations: 2.851 MB / 1.093 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008977/0.7645, allocations: 1.262 MB / 1.094 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001833/0.7664, allocations: 397.6 kB / 1.094 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.7667, allocations: 119.4 kB / 1.094 GB, free: 78.47 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/0.7667, allocations: 0 / 1.094 GB, free: 78.47 MB / 0.6823 GB Notification: Performance of Templates: time 0.04369/0.8104, allocations: 25.85 MB / 1.12 GB, free: 66.06 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)