Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001114/0.001114, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 58.3 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3143, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1251/0.4394, allocations: 115.6 MB / 1.181 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03055/0.47, allocations: 20.89 MB / 1.201 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004222/0.4743, allocations: 123.4 kB / 1.202 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00536/0.4797, allocations: 1.638 MB / 1.203 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.4942, allocations: 3.976 MB / 1.207 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007665/0.5019, allocations: 2.839 MB / 1.21 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.5129, allocations: 8.068 MB / 1.218 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004908/0.5179, allocations: 2.674 MB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007534/0.5254, allocations: 2.978 MB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004425/0.5299, allocations: 2.361 MB / 1.226 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.5313, allocations: 328 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005658/0.537, allocations: 2.043 MB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.5384, allocations: 0.9384 MB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003577/0.542, allocations: 1.843 MB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008972/0.551, allocations: 5.492 MB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.551, allocations: 0 / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.5511, allocations: 0 / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001111/0.5512, allocations: 0 / 1.236 GB, free: 14.08 MB / 0.9981 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.01143/0.5626, allocations: 3.875 MB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5627, allocations: 8.031 kB / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.5656, allocations: 0.5821 MB / 1.24 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/0.5706, allocations: 2.518 MB / 1.243 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.5709, allocations: 310.6 kB / 1.243 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.5713, allocations: 196 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004914/0.5762, allocations: 2.567 MB / 1.246 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.5763, allocations: 7.938 kB / 1.246 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.5765, allocations: 91.98 kB / 1.246 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.5766, allocations: 56 kB / 1.246 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005015/0.5816, allocations: 2.223 MB / 1.248 GB, free: 1.359 MB / 0.9981 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.6103/1.192, allocations: 11.49 MB / 1.259 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/1.195, allocations: 1.308 MB / 1.261 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/1.197, allocations: 0.8151 MB / 1.261 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/1.198, allocations: 1.324 MB / 1.263 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/1.201, allocations: 1.062 MB / 1.264 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 3.797e-06/1.201, allocations: 0 / 1.264 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.006436/1.207, allocations: 2.389 MB / 1.266 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.207, allocations: 483.2 kB / 1.267 GB, free: 167 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004378/1.212, allocations: 2.705 MB / 1.269 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/1.212, allocations: 54.31 kB / 1.269 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.213, allocations: 1.316 MB / 1.27 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004913/1.214, allocations: 402.5 kB / 1.271 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006115/1.214, allocations: 341.3 kB / 1.271 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/1.214, allocations: 307 kB / 1.271 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/1.216, allocations: 0.7737 MB / 1.272 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/1.218, allocations: 1.313 MB / 1.274 GB, free: 163 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/1.222, allocations: 1.856 MB / 1.275 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.222, allocations: 6.094 kB / 1.275 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005918/1.228, allocations: 2.256 MB / 1.278 GB, free: 161 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/1.228, allocations: 37.64 kB / 1.278 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/1.228, allocations: 16.41 kB / 1.278 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.456e-05/1.228, allocations: 17.59 kB / 1.278 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/1.23, allocations: 411.2 kB / 1.278 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.799e-05/1.23, allocations: 24.41 kB / 1.278 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.233, allocations: 264.2 kB / 1.278 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.233, allocations: 73.66 kB / 1.278 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002905/1.236, allocations: 1.28 MB / 1.28 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002202/1.238, allocations: 1.303 MB / 1.281 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003647/1.242, allocations: 1.856 MB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.137e-05/1.242, allocations: 6.922 kB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005634/1.248, allocations: 2.246 MB / 1.285 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.248, allocations: 37.48 kB / 1.285 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.248, allocations: 10 kB / 1.285 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.248, allocations: 22.06 kB / 1.285 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.25, allocations: 410.1 kB / 1.285 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-05/1.25, allocations: 25.53 kB / 1.285 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/1.253, allocations: 206.1 kB / 1.286 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.253, allocations: 71.23 kB / 1.286 GB, free: 157.1 MB / 0.9981 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.0006394/1.253, allocations: 297.3 kB / 1.286 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007148/1.254, allocations: 282.2 kB / 1.286 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/1.259, allocations: 2.093 MB / 1.288 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.259, allocations: 13.62 kB / 1.288 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.259, allocations: 2.625 kB / 1.288 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003658/1.263, allocations: 1.647 MB / 1.29 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.273, allocations: 5.225 MB / 1.295 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.273, allocations: 6.656 kB / 1.295 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.274, allocations: 269.8 kB / 1.295 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/1.274, allocations: 14.25 kB / 1.295 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.274, allocations: 39.39 kB / 1.295 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/1.274, allocations: 11.31 kB / 1.295 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.274, allocations: 9.781 kB / 1.295 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006702/1.281, allocations: 3.095 MB / 1.298 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.283, allocations: 0.581 MB / 1.299 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/1.284, allocations: 36.27 kB / 1.299 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.286, allocations: 119.6 kB / 1.299 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/1.286, allocations: 109.5 kB / 1.299 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.286, allocations: 62.67 kB / 1.299 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00286/1.289, allocations: 1.886 MB / 1.301 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.289, allocations: 0 / 1.301 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004136/1.293, allocations: 1.455 MB / 1.302 GB, free: 148.6 MB / 0.9981 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.00134/1.294, allocations: 0.6657 MB / 1.303 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006476/1.301, allocations: 3.172 MB / 1.306 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.301, allocations: 4.375 kB / 1.306 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.303, allocations: 0.9229 MB / 1.307 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006403/1.309, allocations: 1.39 MB / 1.308 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/1.316, allocations: 4.875 MB / 1.313 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/1.317, allocations: 1.76 MB / 1.315 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002926/1.32, allocations: 0.7098 MB / 1.316 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/1.321, allocations: 227.3 kB / 1.316 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.321, allocations: 0 / 1.316 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07413/1.395, allocations: 56.91 MB / 1.371 GB, free: 84.36 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)