Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000999/0.000999, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004956/0.004956, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 18.81 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1085/0.4397, allocations: 113 MB / 1.184 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03038/0.4701, allocations: 20.75 MB / 1.205 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.4745, allocations: 99.38 kB / 1.205 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.4791, allocations: 1.383 MB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.4908, allocations: 3.682 MB / 1.21 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007737/0.4986, allocations: 2.642 MB / 1.212 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.5118, allocations: 10.4 MB / 1.223 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.5157, allocations: 2.212 MB / 1.225 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006435/0.5222, allocations: 2.469 MB / 1.227 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.5267, allocations: 2.252 MB / 1.229 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007122/0.5275, allocations: 136 kB / 1.229 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005956/0.5334, allocations: 1.82 MB / 1.231 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.5348, allocations: 0.7353 MB / 1.232 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.538, allocations: 1.649 MB / 1.234 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009305/0.5473, allocations: 5.264 MB / 1.239 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5473, allocations: 4 kB / 1.239 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.286e-06/0.5473, allocations: 0 / 1.239 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000132/0.5475, allocations: 0 / 1.239 GB, free: 14.52 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.007338/0.5548, allocations: 3.227 MB / 1.242 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5549, allocations: 8.031 kB / 1.242 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/0.5579, allocations: 0.6485 MB / 1.242 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004692/0.5626, allocations: 2.585 MB / 1.245 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.563, allocations: 306.6 kB / 1.245 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.5633, allocations: 207.9 kB / 1.245 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005064/0.5684, allocations: 2.602 MB / 1.248 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.5685, allocations: 7.938 kB / 1.248 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.5687, allocations: 92 kB / 1.248 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.5688, allocations: 55.98 kB / 1.248 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004913/0.5737, allocations: 2.297 MB / 1.25 GB, free: 2.203 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.626/1.2, allocations: 11.46 MB / 1.262 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/1.203, allocations: 1.349 MB / 1.263 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.205, allocations: 0.8527 MB / 1.264 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008244/1.206, allocations: 1.323 MB / 1.265 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/1.208, allocations: 1.1 MB / 1.266 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 3.256e-06/1.209, allocations: 0 / 1.266 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.006063/1.215, allocations: 2.502 MB / 1.269 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.215, allocations: 487 kB / 1.269 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/1.219, allocations: 2.676 MB / 1.272 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/1.219, allocations: 57.61 kB / 1.272 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/1.22, allocations: 1.311 MB / 1.273 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005507/1.221, allocations: 403.2 kB / 1.273 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/1.221, allocations: 132.1 kB / 1.274 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/1.221, allocations: 307 kB / 1.274 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/1.223, allocations: 0.8068 MB / 1.275 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/1.225, allocations: 1.342 MB / 1.276 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/1.23, allocations: 1.939 MB / 1.278 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.23, allocations: 5.531 kB / 1.278 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006361/1.236, allocations: 2.33 MB / 1.28 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003089/1.236, allocations: 427 kB / 1.28 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/1.236, allocations: 9.625 kB / 1.28 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.86e-05/1.236, allocations: 19.84 kB / 1.281 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/1.238, allocations: 434.2 kB / 1.281 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.262e-05/1.239, allocations: 23.42 kB / 1.281 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/1.242, allocations: 332.7 kB / 1.281 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/1.242, allocations: 69.64 kB / 1.281 GB, free: 158 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.242, allocations: 6.703 kB / 1.281 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00482/1.247, allocations: 2.06 MB / 1.283 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.247, allocations: 9.594 kB / 1.283 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.247, allocations: 17.53 kB / 1.283 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/1.249, allocations: 425.2 kB / 1.284 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.362e-05/1.249, allocations: 23.41 kB / 1.284 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/1.252, allocations: 310.1 kB / 1.284 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/1.252, allocations: 69.17 kB / 1.284 GB, free: 157 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.001629/1.254, allocations: 0.693 MB / 1.285 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008235/1.254, allocations: 277.5 kB / 1.285 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/1.259, allocations: 2.178 MB / 1.287 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/1.259, allocations: 13.23 kB / 1.287 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.259, allocations: 4 kB / 1.287 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003569/1.263, allocations: 1.726 MB / 1.289 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.274, allocations: 5.287 MB / 1.294 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.274, allocations: 9.531 kB / 1.294 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.276, allocations: 287.2 kB / 1.294 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/1.276, allocations: 10.41 kB / 1.294 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.276, allocations: 41.72 kB / 1.294 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.465e-05/1.276, allocations: 13.41 kB / 1.294 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.276, allocations: 11.34 kB / 1.294 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/1.283, allocations: 3.201 MB / 1.298 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.285, allocations: 0.6272 MB / 1.298 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005264/1.286, allocations: 28.91 kB / 1.298 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.288, allocations: 190.2 kB / 1.298 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/1.288, allocations: 112.4 kB / 1.299 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.288, allocations: 58.92 kB / 1.299 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003083/1.291, allocations: 1.86 MB / 1.3 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/1.291, allocations: 4 kB / 1.3 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004966/1.296, allocations: 1.437 MB / 1.302 GB, free: 148.9 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.00148/1.298, allocations: 0.643 MB / 1.302 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006504/1.304, allocations: 3.125 MB / 1.305 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.304, allocations: 448 / 1.305 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/1.306, allocations: 0.9653 MB / 1.306 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009526/1.316, allocations: 1.401 MB / 1.308 GB, free: 146 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/1.324, allocations: 5.927 MB / 1.314 GB, free: 142 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.325, allocations: 1.765 MB / 1.315 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003292/1.328, allocations: 0.7075 MB / 1.316 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007698/1.329, allocations: 233.3 kB / 1.316 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.329, allocations: 3.531 kB / 1.316 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08199/1.411, allocations: 57.41 MB / 1.372 GB, free: 84.19 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)