Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001813/0.001813, allocations: 192 kB / 16.25 MB, free: 6.633 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.346/1.346, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.683/1.683, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001395/0.001395, allocations: 63.52 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2516, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.107/0.3586, allocations: 114.5 MB / 0.8947 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03018/0.3888, allocations: 20.58 MB / 0.9148 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005496/0.3944, allocations: 99.44 kB / 0.9149 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006388/0.4009, allocations: 1.434 MB / 0.9163 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.4137, allocations: 3.658 MB / 0.9198 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.4497/0.8635, allocations: 2.654 MB / 0.9224 GB, free: 45.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.8748, allocations: 8.018 MB / 0.9303 GB, free: 45.04 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004935/0.8798, allocations: 2.655 MB / 0.9328 GB, free: 44.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007836/0.8877, allocations: 3.029 MB / 0.9358 GB, free: 44.78 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005172/0.8929, allocations: 2.435 MB / 0.9382 GB, free: 44.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001686/0.8946, allocations: 327.8 kB / 0.9385 GB, free: 44.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007227/0.9019, allocations: 2.06 MB / 0.9405 GB, free: 44.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.9048, allocations: 0.9396 MB / 0.9414 GB, free: 44.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006349/0.9112, allocations: 1.854 MB / 0.9432 GB, free: 43.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.9213, allocations: 5.504 MB / 0.9486 GB, free: 43.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.9213, allocations: 1.094 kB / 0.9486 GB, free: 43.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9213, allocations: 4 kB / 0.9486 GB, free: 43.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000134/0.9215, allocations: 3.938 kB / 0.9486 GB, free: 43.22 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.009034/0.9305, allocations: 3.864 MB / 0.9524 GB, free: 41.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9306, allocations: 13.16 kB / 0.9524 GB, free: 41.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.9338, allocations: 0.5781 MB / 0.953 GB, free: 41.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.9392, allocations: 2.558 MB / 0.9555 GB, free: 40.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.9396, allocations: 307.3 kB / 0.9558 GB, free: 40.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005036/0.9401, allocations: 199.5 kB / 0.956 GB, free: 40.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005159/0.9453, allocations: 2.561 MB / 0.9585 GB, free: 40.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.9454, allocations: 6.031 kB / 0.9585 GB, free: 40.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.9456, allocations: 101.1 kB / 0.9586 GB, free: 40.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/0.9457, allocations: 58.58 kB / 0.9586 GB, free: 40.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/0.9503, allocations: 2.217 MB / 0.9608 GB, free: 40.17 MB / 0.7325 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.01546/0.9658, allocations: 11.44 MB / 0.972 GB, free: 34.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.9684, allocations: 1.305 MB / 0.9732 GB, free: 34.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.9699, allocations: 0.8114 MB / 0.974 GB, free: 34.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.9707, allocations: 1.333 MB / 0.9753 GB, free: 33.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002195/0.9729, allocations: 1.057 MB / 0.9764 GB, free: 33.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=115): time 3.607e-06/0.9729, allocations: 0 / 0.9764 GB, free: 33.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=115): time 0.005869/0.9788, allocations: 2.384 MB / 0.9787 GB, free: 32.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.9789, allocations: 483.5 kB / 0.9791 GB, free: 31.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/0.9831, allocations: 2.66 MB / 0.9817 GB, free: 30.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004396/0.9835, allocations: 52.98 kB / 0.9818 GB, free: 30.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.9846, allocations: 1.315 MB / 0.9831 GB, free: 29.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.9852, allocations: 400.3 kB / 0.9835 GB, free: 29.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005257/0.9857, allocations: 341 kB / 0.9838 GB, free: 29.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.9858, allocations: 301.1 kB / 0.9841 GB, free: 28.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.9873, allocations: 0.7769 MB / 0.9848 GB, free: 28.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.9891, allocations: 1.307 MB / 0.9861 GB, free: 27.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.9921, allocations: 1.86 MB / 0.9879 GB, free: 26.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.9921, allocations: 6.875 kB / 0.9879 GB, free: 26.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004636/0.9968, allocations: 2.263 MB / 0.9901 GB, free: 24.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.9968, allocations: 37.56 kB / 0.9902 GB, free: 24.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.9969, allocations: 12.19 kB / 0.9902 GB, free: 24.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.9969, allocations: 20.5 kB / 0.9902 GB, free: 24.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.9986, allocations: 406.5 kB / 0.9906 GB, free: 24.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.9986, allocations: 28.02 kB / 0.9906 GB, free: 24.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/1.002, allocations: 324.4 kB / 0.9909 GB, free: 24.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/1.002, allocations: 68.36 kB / 0.991 GB, free: 24.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002454/1.004, allocations: 1.278 MB / 0.9922 GB, free: 23.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001744/1.006, allocations: 1.299 MB / 0.9935 GB, free: 22.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002952/1.009, allocations: 1.854 MB / 0.9953 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/1.009, allocations: 3.656 kB / 0.9953 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004673/1.014, allocations: 2.249 MB / 0.9975 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.014, allocations: 45.62 kB / 0.9976 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.014, allocations: 10.03 kB / 0.9976 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.014, allocations: 17.72 kB / 0.9976 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.015, allocations: 407.8 kB / 0.998 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/1.015, allocations: 23.78 kB / 0.998 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/1.018, allocations: 262.4 kB / 0.9983 GB, free: 20.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/1.019, allocations: 70.55 kB / 0.9983 GB, free: 20.11 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * 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.0005478/1.019, allocations: 285.3 kB / 0.9986 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008093/1.02, allocations: 280.6 kB / 0.9989 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/1.024, allocations: 2.098 MB / 1.001 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/1.024, allocations: 16.62 kB / 1.001 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.024, allocations: 2.844 kB / 1.001 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00284/1.027, allocations: 1.641 MB / 1.003 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/1.036, allocations: 5.22 MB / 1.008 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.036, allocations: 8.031 kB / 1.008 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.038, allocations: 264.4 kB / 1.008 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.038, allocations: 12 kB / 1.008 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.038, allocations: 35.97 kB / 1.008 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/1.038, allocations: 15.38 kB / 1.008 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.038, allocations: 8 kB / 1.008 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/1.043, allocations: 3.081 MB / 1.011 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.044, allocations: 0.5833 MB / 1.012 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000611/1.045, allocations: 32 kB / 1.012 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.047, allocations: 163.7 kB / 1.012 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/1.047, allocations: 118.2 kB / 1.012 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.048, allocations: 63.95 kB / 1.012 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002546/1.05, allocations: 1.848 MB / 1.014 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.05, allocations: 0 / 1.014 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005015/1.055, allocations: 1.427 MB / 1.015 GB, free: 4.461 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * 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.001383/1.057, allocations: 0.6546 MB / 1.016 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006035/1.063, allocations: 3.167 MB / 1.019 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.063, allocations: 4.438 kB / 1.019 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.064, allocations: 0.9313 MB / 1.02 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006353/1.071, allocations: 1.398 MB / 1.021 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008485/1.079, allocations: 5.794 MB / 1.027 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.081, allocations: 1.757 MB / 1.028 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003609/1.084, allocations: 0.7029 MB / 1.029 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/1.085, allocations: 219.4 kB / 1.029 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of SimCode: time 1.483e-06/1.085, allocations: 0 / 1.029 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of Templates: time 0.08803/1.173, allocations: 56.28 MB / 1.084 GB, free: 14.73 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)