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.001298/0.001298, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001247/0.001247, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001448/0.001448, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2074, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.412/0.6195, allocations: 62.67 MB / 0.846 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.6374, allocations: 12.84 MB / 0.8585 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.6407, allocations: 60.41 kB / 0.8586 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.6441, allocations: 0.9348 MB / 0.8595 GB, free: 14.05 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007675/0.6518, allocations: 1.967 MB / 0.8614 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004708/0.6565, allocations: 1.371 MB / 0.8628 GB, free: 12.15 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005846/0.6624, allocations: 3.438 MB / 0.8661 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.6648, allocations: 1.263 MB / 0.8674 GB, free: 9.918 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.6686, allocations: 1.377 MB / 0.8687 GB, free: 9.262 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.6709, allocations: 1.056 MB / 0.8697 GB, free: 8.758 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.6713, allocations: 158 kB / 0.8699 GB, free: 8.754 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004195/0.6755, allocations: 1.607 MB / 0.8715 GB, free: 8.176 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000803/0.6763, allocations: 465.8 kB / 0.8719 GB, free: 7.824 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.6782, allocations: 0.8842 MB / 0.8728 GB, free: 7.199 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005151/0.6834, allocations: 2.951 MB / 0.8756 GB, free: 5.223 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6834, allocations: 0 / 0.8756 GB, free: 5.223 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6834, allocations: 0 / 0.8756 GB, free: 5.223 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.6834, allocations: 1.062 kB / 0.8756 GB, free: 5.223 MB / 0.67 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.004136/0.6876, allocations: 2.155 MB / 0.8777 GB, free: 3.609 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6877, allocations: 8.125 kB / 0.8778 GB, free: 3.609 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.6902, allocations: 0.4903 MB / 0.8782 GB, free: 3.379 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.6928, allocations: 1.399 MB / 0.8796 GB, free: 2.32 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.693, allocations: 149.4 kB / 0.8797 GB, free: 2.211 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.6932, allocations: 88.47 kB / 0.8798 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.6958, allocations: 1.22 MB / 0.881 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.6959, allocations: 0 / 0.881 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.696, allocations: 36.25 kB / 0.8811 GB, free: 1.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.696, allocations: 20.81 kB / 0.8811 GB, free: 1.41 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.6992, allocations: 1.264 MB / 0.8823 GB, free: 0.7812 MB / 0.67 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.006929/0.7061, allocations: 4.488 MB / 0.8867 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007906/0.714, allocations: 1.72 MB / 0.8884 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.7151, allocations: 453.5 kB / 0.8888 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008983/0.716, allocations: 1.155 MB / 0.8899 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.7172, allocations: 0.5323 MB / 0.8905 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.996e-06/0.7172, allocations: 0 / 0.8905 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.003573/0.7208, allocations: 1.362 MB / 0.8918 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.7209, allocations: 83.39 kB / 0.8919 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.7233, allocations: 1.625 MB / 0.8934 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.7234, allocations: 43.05 kB / 0.8935 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.724, allocations: 0.6376 MB / 0.8941 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.7242, allocations: 213.8 kB / 0.8943 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.7245, allocations: 161.9 kB / 0.8945 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7247, allocations: 333 kB / 0.8948 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.7259, allocations: 488.6 kB / 0.8953 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.7273, allocations: 0.6487 MB / 0.8959 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.7296, allocations: 0.9495 MB / 0.8968 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7296, allocations: 1.25 kB / 0.8968 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003322/0.7329, allocations: 1.266 MB / 0.8981 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.733, allocations: 7.781 kB / 0.8981 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.733, allocations: 1.406 kB / 0.8981 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.733, allocations: 9.172 kB / 0.8981 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.734, allocations: 219.5 kB / 0.8983 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.7341, allocations: 5.094 kB / 0.8983 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.7357, allocations: 193.5 kB / 0.8985 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.7358, allocations: 34.86 kB / 0.8985 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00176/0.7376, allocations: 0.7556 MB / 0.8992 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001381/0.739, allocations: 0.6345 MB / 0.8999 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002194/0.7412, allocations: 0.9461 MB / 0.9008 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.7412, allocations: 3.938 kB / 0.9008 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00319/0.7444, allocations: 1.257 MB / 0.902 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7444, allocations: 13.64 kB / 0.902 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7444, allocations: 4 kB / 0.902 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.7444, allocations: 7.938 kB / 0.902 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.7454, allocations: 215.9 kB / 0.9022 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.7455, allocations: 4 kB / 0.9022 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.747, allocations: 171.4 kB / 0.9024 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.7471, allocations: 35.98 kB / 0.9024 GB, free: 1.055 MB / 0.6856 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.0002965/0.7474, allocations: 226 kB / 0.9027 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.7477, allocations: 162 kB / 0.9028 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.7505, allocations: 1.237 MB / 0.904 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.7505, allocations: 3.984 kB / 0.904 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7505, allocations: 0 / 0.904 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.7512, allocations: 374.8 kB / 0.9044 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.7514, allocations: 16 kB / 0.9044 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7524, allocations: 86.2 kB / 0.9045 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.7525, allocations: 52.42 kB / 0.9045 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002717/0.7552, allocations: 1.1 MB / 0.9056 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002519/0.7578, allocations: 1.254 MB / 0.9068 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001064/0.7589, allocations: 480.1 kB / 0.9073 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001874/0.7607, allocations: 1.146 MB / 0.9084 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of Backend: time 3.81e-07/0.7607, allocations: 0 / 0.9084 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006036/0.7668, allocations: 2.093 MB / 0.9105 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of SimCode: time 0.005396/0.7722, allocations: 3.098 MB / 0.9135 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of Templates: time 0.06131/0.8335, allocations: 36.64 MB / 0.9493 GB, free: 1.738 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)