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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001353/0.001353, allocations: 197 kB / 16.14 MB, free: 6.703 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.352/1.352, allocations: 205.1 MB / 222 MB, free: 4.996 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.737/1.737, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001358/0.001358, allocations: 61.3 kB / 0.6708 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2136, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06314/0.2768, allocations: 62.28 MB / 0.8435 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.2939, allocations: 12.88 MB / 0.8561 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.2969, allocations: 59.62 kB / 0.8561 GB, free: 2.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003173/0.3002, allocations: 0.7926 MB / 0.8569 GB, free: 1.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006779/0.307, allocations: 1.812 MB / 0.8587 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.3112, allocations: 1.222 MB / 0.8598 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005908/0.3171, allocations: 4.279 MB / 0.864 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.3195, allocations: 1.073 MB / 0.8651 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.3225, allocations: 1.19 MB / 0.8662 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.3247, allocations: 1.054 MB / 0.8673 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006066/0.3253, allocations: 84 kB / 0.8673 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.329, allocations: 1.516 MB / 0.8688 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006988/0.3298, allocations: 402.4 kB / 0.8692 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.3313, allocations: 0.812 MB / 0.87 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00481/0.3362, allocations: 2.859 MB / 0.8728 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3362, allocations: 0 / 0.8728 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3362, allocations: 0 / 0.8728 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.322e-05/0.3363, allocations: 0 / 0.8728 GB, free: 1.391 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.004791/0.3411, allocations: 2.155 MB / 0.8749 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3411, allocations: 8.031 kB / 0.8749 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.3437, allocations: 494.3 kB / 0.8754 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.3465, allocations: 1.384 MB / 0.8767 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007527/0.3473, allocations: 265.2 kB / 0.877 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.3475, allocations: 88 kB / 0.8771 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.3502, allocations: 1.228 MB / 0.8783 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3502, allocations: 3.938 kB / 0.8783 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.3503, allocations: 39.98 kB / 0.8783 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.3504, allocations: 20 kB / 0.8783 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.3535, allocations: 1.276 MB / 0.8796 GB, free: 10.3 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.008076/0.3616, allocations: 4.512 MB / 0.884 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007935/0.3696, allocations: 1.717 MB / 0.8857 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.3707, allocations: 450.3 kB / 0.8861 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008733/0.3716, allocations: 1.156 MB / 0.8872 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.3729, allocations: 0.5339 MB / 0.8877 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.016e-06/0.3729, allocations: 4 kB / 0.8877 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.003516/0.3764, allocations: 1.356 MB / 0.8891 GB, free: 16 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.3765, allocations: 89.67 kB / 0.8892 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.3792, allocations: 1.623 MB / 0.8907 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.781e-05/0.3793, allocations: 37.7 kB / 0.8908 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/0.3799, allocations: 0.6434 MB / 0.8914 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.3801, allocations: 209 kB / 0.8916 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.3805, allocations: 166.4 kB / 0.8918 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3806, allocations: 334 kB / 0.8921 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.3819, allocations: 0.4927 MB / 0.8926 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.3834, allocations: 0.6423 MB / 0.8932 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.3856, allocations: 0.9617 MB / 0.8941 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3856, allocations: 4 kB / 0.8941 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003294/0.3889, allocations: 1.284 MB / 0.8954 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.389, allocations: 4.25 kB / 0.8954 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.389, allocations: 8 kB / 0.8954 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.389, allocations: 4 kB / 0.8954 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.3901, allocations: 215.7 kB / 0.8956 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.3901, allocations: 11.97 kB / 0.8956 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.3917, allocations: 223 kB / 0.8958 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3918, allocations: 35.98 kB / 0.8959 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00171/0.3935, allocations: 0.7701 MB / 0.8966 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001419/0.395, allocations: 0.65 MB / 0.8972 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002288/0.3973, allocations: 0.9539 MB / 0.8982 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.943e-06/0.3973, allocations: 0 / 0.8982 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003631/0.4009, allocations: 1.276 MB / 0.8994 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.401, allocations: 10.91 kB / 0.8994 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.401, allocations: 4 kB / 0.8994 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.401, allocations: 4 kB / 0.8994 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.402, allocations: 223.9 kB / 0.8997 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.4021, allocations: 7.938 kB / 0.8997 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4038, allocations: 207.2 kB / 0.8999 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4039, allocations: 31.98 kB / 0.8999 GB, free: 4.672 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.0003753/0.4043, allocations: 220.1 kB / 0.9001 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/0.4048, allocations: 158.1 kB / 0.9003 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.4077, allocations: 1.243 MB / 0.9015 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4077, allocations: 8 kB / 0.9015 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4077, allocations: 0 / 0.9015 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.4078, allocations: 7.984 kB / 0.9015 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.4128, allocations: 2.696 MB / 0.9041 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4128, allocations: 8.031 kB / 0.9041 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.4135, allocations: 139.8 kB / 0.9043 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.4135, allocations: 4 kB / 0.9043 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.4136, allocations: 23.98 kB / 0.9043 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4136, allocations: 7.938 kB / 0.9043 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/0.4136, allocations: 4 kB / 0.9043 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.4163, allocations: 1.253 MB / 0.9055 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.417, allocations: 382.8 kB / 0.9059 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.4173, allocations: 16 kB / 0.9059 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.4186, allocations: 111.8 kB / 0.906 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4187, allocations: 52.31 kB / 0.9061 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.4188, allocations: 31.97 kB / 0.9061 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001937/0.4208, allocations: 1.153 MB / 0.9072 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4208, allocations: 0 / 0.9072 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001931/0.4227, allocations: 0.7058 MB / 0.9079 GB, free: 12.3 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.001734/0.4244, allocations: 0.7634 MB / 0.9086 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004165/0.4286, allocations: 1.656 MB / 0.9103 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4286, allocations: 4 kB / 0.9103 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.4297, allocations: 494.9 kB / 0.9107 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.433, allocations: 0.6341 MB / 0.9114 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.4386, allocations: 2.946 MB / 0.9142 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.4396, allocations: 1.231 MB / 0.9154 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001836/0.4415, allocations: 413.7 kB / 0.9158 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.4419, allocations: 123.4 kB / 0.9159 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.4419, allocations: 0 / 0.9159 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of Templates: time 0.4167/0.8587, allocations: 27.61 MB / 0.9429 GB, free: 127.4 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)