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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 193 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 69.89 kB / 0.671 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2007, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05872/0.2594, allocations: 62.14 MB / 0.8435 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.2781, allocations: 12.73 MB / 0.856 GB, free: 2.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.2804, allocations: 59.62 kB / 0.856 GB, free: 2.711 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.2834, allocations: 0.8277 MB / 0.8568 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.2889, allocations: 1.831 MB / 0.8586 GB, free: 40 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.2925, allocations: 1.238 MB / 0.8598 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.2973, allocations: 3.458 MB / 0.8632 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.2994, allocations: 1.264 MB / 0.8644 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.3031, allocations: 1.374 MB / 0.8658 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.3051, allocations: 1.101 MB / 0.8669 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000487/0.3056, allocations: 152 kB / 0.867 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.309, allocations: 1.61 MB / 0.8686 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000615/0.3096, allocations: 470.4 kB / 0.869 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.311, allocations: 0.8862 MB / 0.8699 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.3152, allocations: 2.929 MB / 0.8727 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3152, allocations: 0 / 0.8727 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3152, allocations: 0 / 0.8727 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.3152, allocations: 0 / 0.8727 GB, free: 1.516 MB / 0.6856 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.003672/0.3189, allocations: 2.163 MB / 0.8749 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3189, allocations: 8.031 kB / 0.8749 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.3214, allocations: 494.3 kB / 0.8753 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.3239, allocations: 1.38 MB / 0.8767 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007478/0.3246, allocations: 257.2 kB / 0.8769 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.3248, allocations: 91.94 kB / 0.877 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.3273, allocations: 1.232 MB / 0.8782 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3274, allocations: 3.938 kB / 0.8782 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.3275, allocations: 32 kB / 0.8783 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.3275, allocations: 20 kB / 0.8783 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.3305, allocations: 1.28 MB / 0.8795 GB, free: 10.42 MB / 0.7012 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.007039/0.3376, allocations: 4.512 MB / 0.8839 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/0.3454, allocations: 1.717 MB / 0.8856 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.3464, allocations: 461 kB / 0.886 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/0.3473, allocations: 1.152 MB / 0.8872 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.3486, allocations: 0.53 MB / 0.8877 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.846e-06/0.3486, allocations: 0 / 0.8877 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.003573/0.3522, allocations: 1.36 MB / 0.889 GB, free: 144 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.3523, allocations: 89.67 kB / 0.8891 GB, free: 32 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.3549, allocations: 1.619 MB / 0.8907 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.355, allocations: 45.7 kB / 0.8907 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/0.3556, allocations: 0.6395 MB / 0.8914 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.3558, allocations: 217 kB / 0.8916 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.3561, allocations: 158.5 kB / 0.8917 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3562, allocations: 338 kB / 0.892 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.3574, allocations: 496.5 kB / 0.8925 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.3589, allocations: 0.6462 MB / 0.8931 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.3611, allocations: 0.9656 MB / 0.8941 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3611, allocations: 0 / 0.8941 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003135/0.3642, allocations: 1.276 MB / 0.8953 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3642, allocations: 8.25 kB / 0.8953 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3643, allocations: 4 kB / 0.8953 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3643, allocations: 8 kB / 0.8953 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.3653, allocations: 219.7 kB / 0.8956 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3653, allocations: 8 kB / 0.8956 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.3668, allocations: 222.9 kB / 0.8958 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.3669, allocations: 35.97 kB / 0.8958 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001697/0.3686, allocations: 0.7634 MB / 0.8966 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001346/0.37, allocations: 0.654 MB / 0.8972 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002115/0.3721, allocations: 0.9577 MB / 0.8981 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.3721, allocations: 0 / 0.8981 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00302/0.3752, allocations: 1.272 MB / 0.8994 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3752, allocations: 14.91 kB / 0.8994 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3752, allocations: 0 / 0.8994 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.3752, allocations: 8 kB / 0.8994 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.3762, allocations: 219.8 kB / 0.8996 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3762, allocations: 7.984 kB / 0.8996 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.3777, allocations: 203.3 kB / 0.8998 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.3778, allocations: 39.97 kB / 0.8998 GB, free: 4.797 MB / 0.7169 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.0002725/0.378, allocations: 219.4 kB / 0.9001 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.3783, allocations: 158 kB / 0.9002 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.3809, allocations: 1.243 MB / 0.9014 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.381, allocations: 11.98 kB / 0.9014 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.381, allocations: 0 / 0.9014 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.381, allocations: 4 kB / 0.9014 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/0.3855, allocations: 2.708 MB / 0.9041 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.3855, allocations: 8.031 kB / 0.9041 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.3862, allocations: 135.8 kB / 0.9042 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.3862, allocations: 8 kB / 0.9042 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.3863, allocations: 19.98 kB / 0.9042 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.3863, allocations: 11.92 kB / 0.9042 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3863, allocations: 4 kB / 0.9043 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.3889, allocations: 1.245 MB / 0.9055 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/0.3895, allocations: 378.9 kB / 0.9058 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.3897, allocations: 16 kB / 0.9058 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.3909, allocations: 111.7 kB / 0.906 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.391, allocations: 52.31 kB / 0.906 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.3911, allocations: 35.97 kB / 0.906 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001879/0.393, allocations: 1.153 MB / 0.9072 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.393, allocations: 0 / 0.9072 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0019/0.3949, allocations: 0.7136 MB / 0.9079 GB, free: 12.42 MB / 0.7325 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.001652/0.3966, allocations: 0.7604 MB / 0.9086 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004329/0.4009, allocations: 1.734 MB / 0.9103 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4009, allocations: 4 kB / 0.9103 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.402, allocations: 494.9 kB / 0.9108 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.4054, allocations: 0.669 MB / 0.9114 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.4099, allocations: 2.944 MB / 0.9143 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/0.4107, allocations: 1.234 MB / 0.9155 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001761/0.4125, allocations: 401.9 kB / 0.9159 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.4129, allocations: 123.4 kB / 0.916 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.4129, allocations: 0 / 0.916 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of Templates: time 0.4579/0.8708, allocations: 28.59 MB / 0.9439 GB, free: 127.1 MB / 0.7325 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)