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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 183.9 kB / 376.9 MB, free: 1.832 MB / 298.7 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 / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 101.1 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 55.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.23, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.5662/0.7962, allocations: 114.8 MB / 1.094 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.8233, allocations: 20.79 MB / 1.115 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006595/0.83, allocations: 103.5 kB / 1.115 GB, free: 24.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005976/0.836, allocations: 1.383 MB / 1.116 GB, free: 23.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.8488, allocations: 3.636 MB / 1.12 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007493/0.8563, allocations: 2.644 MB / 1.122 GB, free: 19.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01259/0.8689, allocations: 10.38 MB / 1.132 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003889/0.8728, allocations: 2.27 MB / 1.135 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006635/0.8795, allocations: 2.578 MB / 1.137 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005412/0.8849, allocations: 2.34 MB / 1.139 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.8865, allocations: 167 kB / 1.139 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005952/0.8924, allocations: 1.854 MB / 1.141 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.8937, allocations: 0.7858 MB / 1.142 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004082/0.8978, allocations: 1.679 MB / 1.144 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.9082, allocations: 5.365 MB / 1.149 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.9082, allocations: 0 / 1.149 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.286e-06/0.9082, allocations: 7.094 kB / 1.149 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001873/0.9084, allocations: 0 / 1.149 GB, free: 8.832 MB / 0.7448 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.009815/0.9182, allocations: 3.854 MB / 1.153 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.9183, allocations: 6.281 kB / 1.153 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.9212, allocations: 0.5796 MB / 1.153 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.9262, allocations: 2.565 MB / 1.156 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.9265, allocations: 299.2 kB / 1.156 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.9269, allocations: 209.6 kB / 1.156 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.9318, allocations: 2.563 MB / 1.159 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.9318, allocations: 7.188 kB / 1.159 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.9321, allocations: 90.06 kB / 1.159 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.383e-05/0.9322, allocations: 62.84 kB / 1.159 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/0.9364, allocations: 2.224 MB / 1.161 GB, free: 2.527 MB / 0.7448 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.01507/0.9515, allocations: 11.43 MB / 1.172 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.9545, allocations: 1.305 MB / 1.174 GB, free: 10 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/0.9565, allocations: 0.8134 MB / 1.174 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.9576, allocations: 1.328 MB / 1.176 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002211/0.9599, allocations: 1.058 MB / 1.177 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=115): time 3.546e-06/0.9599, allocations: 0 / 1.177 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of matching and sorting (n=115): time 0.006362/0.9663, allocations: 2.387 MB / 1.179 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.9665, allocations: 486.2 kB / 1.179 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/0.971, allocations: 2.657 MB / 1.182 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.9712, allocations: 52.77 kB / 1.182 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.9727, allocations: 1.317 MB / 1.183 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.9732, allocations: 401.7 kB / 1.184 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/0.9738, allocations: 334.6 kB / 1.184 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.9739, allocations: 306.7 kB / 1.184 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.9758, allocations: 0.7781 MB / 1.185 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.9783, allocations: 1.305 MB / 1.186 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/0.9821, allocations: 1.862 MB / 1.188 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.9821, allocations: 4.125 kB / 1.188 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005669/0.9878, allocations: 2.257 MB / 1.19 GB, free: 72 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.9879, allocations: 37.19 kB / 1.19 GB, free: 40 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.9879, allocations: 14.27 kB / 1.19 GB, free: 36 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.988, allocations: 21.75 kB / 1.191 GB, free: 32 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.9898, allocations: 410.9 kB / 1.191 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.669e-05/0.9899, allocations: 23.14 kB / 1.191 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.9928, allocations: 319.1 kB / 1.191 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.993, allocations: 72.2 kB / 1.191 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002946/0.9959, allocations: 1.282 MB / 1.193 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002331/0.9983, allocations: 1.302 MB / 1.194 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003689/1.002, allocations: 1.848 MB / 1.196 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/1.002, allocations: 2.438 kB / 1.196 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005904/1.008, allocations: 2.247 MB / 1.198 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/1.008, allocations: 36.39 kB / 1.198 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.008, allocations: 10.81 kB / 1.198 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/1.008, allocations: 18.72 kB / 1.198 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.01, allocations: 407.2 kB / 1.198 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.395e-05/1.01, allocations: 25.2 kB / 1.198 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/1.013, allocations: 258.9 kB / 1.199 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/1.013, allocations: 72.58 kB / 1.199 GB, free: 12.11 MB / 0.7761 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.0006799/1.014, allocations: 289.5 kB / 1.199 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.015, allocations: 275.9 kB / 1.199 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/1.021, allocations: 2.102 MB / 1.201 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/1.021, allocations: 17.94 kB / 1.201 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.021, allocations: 1.797 kB / 1.201 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00384/1.025, allocations: 1.647 MB / 1.203 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.039, allocations: 5.215 MB / 1.208 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.039, allocations: 16 kB / 1.208 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/1.04, allocations: 262.6 kB / 1.208 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.73e-05/1.04, allocations: 12.47 kB / 1.208 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/1.041, allocations: 34.61 kB / 1.208 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.742e-05/1.041, allocations: 19 kB / 1.208 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.041, allocations: 7.875 kB / 1.208 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04146/1.082, allocations: 14.48 MB / 1.222 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.084, allocations: 0.5793 MB / 1.223 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.085, allocations: 35.98 kB / 1.223 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.088, allocations: 159.7 kB / 1.223 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/1.089, allocations: 116.7 kB / 1.223 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000311/1.089, allocations: 59.95 kB / 1.223 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.005304/1.095, allocations: 1.848 MB / 1.225 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.71e-07/1.095, allocations: 0 / 1.225 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00969/1.104, allocations: 2.107 MB / 1.227 GB, free: 9.766 MB / 0.7917 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.001991/1.106, allocations: 0.6589 MB / 1.228 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.007615/1.114, allocations: 3.004 MB / 1.231 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.114, allocations: 4.75 kB / 1.231 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/1.116, allocations: 0.9243 MB / 1.232 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.126, allocations: 1.321 MB / 1.233 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.14, allocations: 6.442 MB / 1.239 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/1.143, allocations: 1.803 MB / 1.241 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005393/1.148, allocations: 0.7321 MB / 1.242 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/1.149, allocations: 223.3 kB / 1.242 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/1.149, allocations: 7.938 kB / 1.242 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of Templates: time 0.1071/1.256, allocations: 60.11 MB / 1.301 GB, free: 14.72 MB / 0.8698 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)