Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 308.1 MB, free: 4.262 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.001187/0.001187, allocations: 189.4 kB / 376.9 MB, free: 1.793 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.499/1.499, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 99.88 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.22, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.5013/0.7214, allocations: 62.26 MB / 1.043 GB, free: 71.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.741, allocations: 12.87 MB / 1.056 GB, free: 66.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.7448, allocations: 57.72 kB / 1.056 GB, free: 66.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.7482, allocations: 0.7925 MB / 1.056 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006822/0.755, allocations: 1.806 MB / 1.058 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.7598, allocations: 1.217 MB / 1.059 GB, free: 65.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00775/0.7675, allocations: 4.313 MB / 1.064 GB, free: 63.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.7706, allocations: 1.073 MB / 1.065 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/0.7743, allocations: 1.21 MB / 1.066 GB, free: 62.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.7846, allocations: 1.049 MB / 1.067 GB, free: 62.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005971/0.7853, allocations: 80.84 kB / 1.067 GB, free: 62.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005068/0.7904, allocations: 1.525 MB / 1.068 GB, free: 61.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006939/0.7911, allocations: 402.6 kB / 1.069 GB, free: 61.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.7927, allocations: 0.8132 MB / 1.07 GB, free: 61.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005288/0.798, allocations: 2.848 MB / 1.072 GB, free: 59.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.798, allocations: 3.562 kB / 1.072 GB, free: 59.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/0.798, allocations: 0 / 1.072 GB, free: 59.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.374e-05/0.7981, allocations: 6.938 kB / 1.072 GB, free: 59.95 MB / 0.7448 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.004762/0.8029, allocations: 2.152 MB / 1.074 GB, free: 58.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.8029, allocations: 9.406 kB / 1.074 GB, free: 58.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.8054, allocations: 497.8 kB / 1.075 GB, free: 58.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.808, allocations: 1.387 MB / 1.076 GB, free: 57.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006963/0.8087, allocations: 254.5 kB / 1.077 GB, free: 57.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.8088, allocations: 86.03 kB / 1.077 GB, free: 57.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.8113, allocations: 1.226 MB / 1.078 GB, free: 56.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.8114, allocations: 0 / 1.078 GB, free: 56.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.8115, allocations: 41.17 kB / 1.078 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.8115, allocations: 19.69 kB / 1.078 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.8144, allocations: 1.282 MB / 1.079 GB, free: 56.52 MB / 0.7448 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.006693/0.8212, allocations: 4.515 MB / 1.084 GB, free: 53.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.8285, allocations: 1.722 MB / 1.085 GB, free: 53.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.8297, allocations: 459.8 kB / 1.086 GB, free: 52.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007605/0.8305, allocations: 1.155 MB / 1.087 GB, free: 51.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.8317, allocations: 0.5228 MB / 1.087 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.206e-06/0.8317, allocations: 0 / 1.087 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.003588/0.8353, allocations: 1.373 MB / 1.089 GB, free: 50.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.8354, allocations: 83.7 kB / 1.089 GB, free: 50.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.8377, allocations: 1.62 MB / 1.09 GB, free: 50.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.8379, allocations: 40.67 kB / 1.09 GB, free: 50.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/0.8384, allocations: 0.6494 MB / 1.091 GB, free: 49.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.8386, allocations: 205.5 kB / 1.091 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.8389, allocations: 166.5 kB / 1.091 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.839, allocations: 331 kB / 1.092 GB, free: 48.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.8402, allocations: 494.2 kB / 1.092 GB, free: 48.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.8416, allocations: 0.6491 MB / 1.093 GB, free: 48.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.8438, allocations: 0.9644 MB / 1.094 GB, free: 48.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8438, allocations: 0 / 1.094 GB, free: 48.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003346/0.8471, allocations: 1.277 MB / 1.095 GB, free: 47.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.8472, allocations: 10.66 kB / 1.095 GB, free: 47.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.8472, allocations: 6.406 kB / 1.095 GB, free: 47.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.8472, allocations: 3.094 kB / 1.095 GB, free: 47.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.8482, allocations: 227.5 kB / 1.095 GB, free: 47.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.8482, allocations: 6.625 kB / 1.095 GB, free: 47.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.8501, allocations: 223.6 kB / 1.095 GB, free: 47.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.8502, allocations: 34.83 kB / 1.095 GB, free: 47.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001715/0.8519, allocations: 0.7701 MB / 1.096 GB, free: 47.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001396/0.8533, allocations: 0.6461 MB / 1.097 GB, free: 46.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002034/0.8554, allocations: 0.9517 MB / 1.098 GB, free: 46.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.252e-06/0.8554, allocations: 4.578 kB / 1.098 GB, free: 46.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003424/0.8588, allocations: 1.279 MB / 1.099 GB, free: 45.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8588, allocations: 10.44 kB / 1.099 GB, free: 45.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8589, allocations: 4.188 kB / 1.099 GB, free: 45.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.8589, allocations: 3.312 kB / 1.099 GB, free: 45.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009938/0.8599, allocations: 222 kB / 1.099 GB, free: 45.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.8599, allocations: 6.969 kB / 1.099 GB, free: 45.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.8617, allocations: 203.1 kB / 1.099 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/0.8618, allocations: 34.09 kB / 1.099 GB, free: 45.77 MB / 0.7448 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.0002855/0.8621, allocations: 217.3 kB / 1.1 GB, free: 45.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.8624, allocations: 161.7 kB / 1.1 GB, free: 45.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.865, allocations: 1.243 MB / 1.101 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.865, allocations: 13.53 kB / 1.101 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.865, allocations: 1.562 kB / 1.101 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.8651, allocations: 6.531 kB / 1.101 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.8697, allocations: 2.712 MB / 1.104 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.8697, allocations: 3.094 kB / 1.104 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.8704, allocations: 129.6 kB / 1.104 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.8704, allocations: 6.125 kB / 1.104 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.8705, allocations: 24.38 kB / 1.104 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.8705, allocations: 11.22 kB / 1.104 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8705, allocations: 7.156 kB / 1.104 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/0.8746, allocations: 2.668 MB / 1.106 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/0.8753, allocations: 380.7 kB / 1.107 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.8755, allocations: 15.78 kB / 1.107 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8766, allocations: 118.6 kB / 1.107 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.8767, allocations: 51.94 kB / 1.107 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.8768, allocations: 29.42 kB / 1.107 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001717/0.8785, allocations: 1.156 MB / 1.108 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8785, allocations: 0 / 1.108 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002147/0.8807, allocations: 0.7198 MB / 1.109 GB, free: 41.14 MB / 0.7448 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.001649/0.8823, allocations: 0.7701 MB / 1.11 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004016/0.8864, allocations: 1.65 MB / 1.111 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8864, allocations: 0 / 1.111 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.8874, allocations: 0.4984 MB / 1.112 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.8908, allocations: 0.6224 MB / 1.112 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.8953, allocations: 3.312 MB / 1.116 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.896, allocations: 1.252 MB / 1.117 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001869/0.8979, allocations: 405.7 kB / 1.117 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.8983, allocations: 120.5 kB / 1.117 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.8983, allocations: 0 / 1.117 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.05525/0.9535, allocations: 28.32 MB / 1.145 GB, free: 34.52 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)