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.001574/0.001574, allocations: 107 kB / 15.99 MB, free: 6.359 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.001613/0.001613, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.468/1.468, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.701/1.701, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001335/0.001336, allocations: 69.81 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2402, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06467/0.3049, allocations: 62.13 MB / 0.8442 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01768/0.3227, allocations: 12.75 MB / 0.8566 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.3257, allocations: 59.62 kB / 0.8567 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.3289, allocations: 0.8238 MB / 0.8575 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006563/0.3355, allocations: 1.824 MB / 0.8593 GB, free: 88 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.3394, allocations: 1.244 MB / 0.8605 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005158/0.3446, allocations: 3.461 MB / 0.8639 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.3466, allocations: 1.253 MB / 0.8651 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.3501, allocations: 1.378 MB / 0.8664 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.3519, allocations: 1.1 MB / 0.8675 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00029/0.3522, allocations: 156 kB / 0.8677 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.3558, allocations: 1.618 MB / 0.8692 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005275/0.3564, allocations: 466.4 kB / 0.8697 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.3577, allocations: 0.894 MB / 0.8706 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.3608, allocations: 2.261 MB / 0.8728 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3609, allocations: 3.938 kB / 0.8728 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3609, allocations: 0 / 0.8728 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.224e-05/0.3609, allocations: 0 / 0.8728 GB, free: 2.215 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.003919/0.3648, allocations: 2.159 MB / 0.8749 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3649, allocations: 12.03 kB / 0.8749 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.3673, allocations: 490.3 kB / 0.8754 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.3699, allocations: 1.388 MB / 0.8767 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007145/0.3706, allocations: 253.3 kB / 0.877 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3708, allocations: 88 kB / 0.877 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.3734, allocations: 1.232 MB / 0.8782 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.3735, allocations: 0 / 0.8782 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3736, allocations: 32 kB / 0.8783 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.3736, allocations: 24 kB / 0.8783 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.3766, allocations: 1.276 MB / 0.8795 GB, free: 11.12 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.007452/0.384, allocations: 4.508 MB / 0.8839 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007826/0.3919, allocations: 1.718 MB / 0.8856 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.3931, allocations: 454.3 kB / 0.8861 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009931/0.3941, allocations: 1.152 MB / 0.8872 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.3954, allocations: 0.5261 MB / 0.8877 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.596e-06/0.3954, allocations: 4 kB / 0.8877 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.003413/0.3988, allocations: 1.364 MB / 0.889 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3989, allocations: 85.67 kB / 0.8891 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.4017, allocations: 1.626 MB / 0.8907 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.4019, allocations: 41.7 kB / 0.8907 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/0.4025, allocations: 0.6472 MB / 0.8914 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.4028, allocations: 209 kB / 0.8916 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.4032, allocations: 162.5 kB / 0.8917 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4033, allocations: 334 kB / 0.892 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.4046, allocations: 496.5 kB / 0.8925 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.4061, allocations: 0.6423 MB / 0.8931 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.4084, allocations: 0.9656 MB / 0.8941 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.4084, allocations: 4 kB / 0.8941 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003341/0.4118, allocations: 1.28 MB / 0.8953 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4118, allocations: 4 kB / 0.8953 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4118, allocations: 8.25 kB / 0.8954 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4119, allocations: 8 kB / 0.8954 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.4129, allocations: 223.7 kB / 0.8956 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.4129, allocations: 7.938 kB / 0.8956 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.4146, allocations: 222.9 kB / 0.8958 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.4148, allocations: 35.97 kB / 0.8958 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001781/0.4165, allocations: 0.7673 MB / 0.8966 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001434/0.418, allocations: 0.6462 MB / 0.8972 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002158/0.4202, allocations: 0.9577 MB / 0.8981 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.4202, allocations: 0 / 0.8981 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003237/0.4234, allocations: 1.276 MB / 0.8994 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4235, allocations: 11.94 kB / 0.8994 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4235, allocations: 3.984 kB / 0.8994 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4235, allocations: 8 kB / 0.8994 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.4245, allocations: 212 kB / 0.8996 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.4245, allocations: 11.98 kB / 0.8996 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4262, allocations: 203.3 kB / 0.8998 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/0.4263, allocations: 35.97 kB / 0.8999 GB, free: 5.504 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.0002789/0.4265, allocations: 227.2 kB / 0.9001 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.4268, allocations: 158 kB / 0.9002 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.4296, allocations: 1.242 MB / 0.9014 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.4296, allocations: 11.98 kB / 0.9014 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4297, allocations: 0 / 0.9014 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4297, allocations: 4 kB / 0.9014 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.4343, allocations: 2.7 MB / 0.9041 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.4344, allocations: 4.312 kB / 0.9041 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000715/0.4351, allocations: 143.7 kB / 0.9042 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.4351, allocations: 4 kB / 0.9042 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.4352, allocations: 19.98 kB / 0.9042 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.4352, allocations: 15.86 kB / 0.9043 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.4352, allocations: 7.938 kB / 0.9043 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.4378, allocations: 1.245 MB / 0.9055 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.4385, allocations: 374.9 kB / 0.9058 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.4387, allocations: 16 kB / 0.9059 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4398, allocations: 115.7 kB / 0.906 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.44, allocations: 52.31 kB / 0.906 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.44, allocations: 35.97 kB / 0.9061 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001802/0.4419, allocations: 1.153 MB / 0.9072 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4419, allocations: 0 / 0.9072 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001803/0.4437, allocations: 0.7097 MB / 0.9079 GB, free: 13.12 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.001669/0.4454, allocations: 0.7517 MB / 0.9086 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004351/0.4497, allocations: 1.738 MB / 0.9103 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4497, allocations: 0 / 0.9103 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.4508, allocations: 494.9 kB / 0.9108 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/0.4541, allocations: 0.6729 MB / 0.9114 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.4587, allocations: 3.005 MB / 0.9144 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/0.4596, allocations: 1.231 MB / 0.9156 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/0.4603, allocations: 127.4 kB / 0.9157 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.4603, allocations: 0 / 0.9157 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of Templates: time 0.3848/0.8451, allocations: 26.1 MB / 0.9412 GB, free: 126.6 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)