Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9134/0.9134, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.835/1.835, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7751 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.975e-05, allocations: 5.125 kB / 0.7751 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.01322/0.01324, allocations: 19.25 MB / 0.7939 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.008482/0.02172, allocations: 7.251 MB / 0.801 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009031/0.02262, allocations: 81.12 kB / 0.8011 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.02364, allocations: 0.5973 MB / 0.8017 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.02584, allocations: 1.754 MB / 0.8034 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.02764, allocations: 1.426 MB / 0.8048 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003291/0.03093, allocations: 4.285 MB / 0.809 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.03213, allocations: 1.194 MB / 0.8101 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.03447, allocations: 2.11 MB / 0.8122 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.03549, allocations: 1.111 MB / 0.8133 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.03568, allocations: 173.3 kB / 0.8134 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009278/0.03661, allocations: 0.6707 MB / 0.8141 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.03692, allocations: 0.5332 MB / 0.8146 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.03746, allocations: 0.6867 MB / 0.8153 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.03903, allocations: 1.838 MB / 0.8171 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.03903, allocations: 0 / 0.8171 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.03903, allocations: 0.6875 kB / 0.8171 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.03905, allocations: 4.844 kB / 0.8171 GB, free: 10.43 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00206/0.04111, allocations: 2.127 MB / 0.8192 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.04114, allocations: 13.34 kB / 0.8192 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.04214, allocations: 465.6 kB / 0.8196 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.04323, allocations: 1.016 MB / 0.8206 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.04337, allocations: 268.6 kB / 0.8209 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.04349, allocations: 113.2 kB / 0.821 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.04469, allocations: 1.375 MB / 0.8223 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.04471, allocations: 0.7188 kB / 0.8223 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.04479, allocations: 44 kB / 0.8224 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.04483, allocations: 40.52 kB / 0.8224 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.04541, allocations: 425 kB / 0.8228 GB, free: 4.301 MB / 0.7761 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.003289/0.0487, allocations: 3.471 MB / 0.8262 GB, free: 0.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.04933, allocations: 483.5 kB / 0.8267 GB, free: 276 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.04955, allocations: 187.4 kB / 0.8268 GB, free: 88 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.04967, allocations: 48.61 kB / 0.8269 GB, free: 40 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.04971, allocations: 44.33 kB / 0.8269 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=77): time 1.793e-06/0.04971, allocations: 0 / 0.8269 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=77): time 0.0007529/0.05046, allocations: 0.5206 MB / 0.8274 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.05051, allocations: 115.4 kB / 0.8275 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007148/0.05123, allocations: 1.063 MB / 0.8286 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.05129, allocations: 41.7 kB / 0.8286 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.05152, allocations: 0.5163 MB / 0.8291 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.05167, allocations: 281.5 kB / 0.8294 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.05186, allocations: 174.5 kB / 0.8296 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.05194, allocations: 345.8 kB / 0.8299 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.05223, allocations: 167.6 kB / 0.8301 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.05268, allocations: 0.6633 MB / 0.8307 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.05329, allocations: 0.533 MB / 0.8312 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.05329, allocations: 8 kB / 0.8312 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007777/0.05407, allocations: 0.6036 MB / 0.8318 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.05409, allocations: 8 kB / 0.8318 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.05409, allocations: 4 kB / 0.8318 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.05411, allocations: 12 kB / 0.8318 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.05468, allocations: 251.8 kB / 0.8321 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.05469, allocations: 11.98 kB / 0.8321 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.0551, allocations: 135.3 kB / 0.8322 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.05515, allocations: 31.98 kB / 0.8323 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004205/0.05557, allocations: 259.8 kB / 0.8325 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004467/0.05602, allocations: 0.6634 MB / 0.8331 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006055/0.05662, allocations: 0.5301 MB / 0.8337 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/0.05663, allocations: 8 kB / 0.8337 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.0007876/0.05742, allocations: 0.6036 MB / 0.8343 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.05743, allocations: 8 kB / 0.8343 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.05743, allocations: 7.938 kB / 0.8343 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.05744, allocations: 11.98 kB / 0.8343 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.05798, allocations: 255.9 kB / 0.8345 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.05799, allocations: 8 kB / 0.8345 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.05839, allocations: 123.5 kB / 0.8347 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.05844, allocations: 27.98 kB / 0.8347 GB, free: 7.488 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0001726/0.05861, allocations: 236 kB / 0.8349 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.05875, allocations: 111.8 kB / 0.835 GB, free: 7.141 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/0.05961, allocations: 0.781 MB / 0.8358 GB, free: 6.328 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.05962, allocations: 8 kB / 0.8358 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.05962, allocations: 0 / 0.8358 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004005/0.06002, allocations: 416.1 kB / 0.8362 GB, free: 5.887 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.06173, allocations: 1.534 MB / 0.8377 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.06173, allocations: 8.031 kB / 0.8377 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.06217, allocations: 175.7 kB / 0.8379 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.06217, allocations: 12 kB / 0.8379 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.06222, allocations: 27.97 kB / 0.8379 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.06222, allocations: 11.94 kB / 0.8379 GB, free: 4.039 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.06223, allocations: 8 kB / 0.8379 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.06314, allocations: 0.862 MB / 0.8388 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.06343, allocations: 210.7 kB / 0.839 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.06354, allocations: 20 kB / 0.839 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.06397, allocations: 75.95 kB / 0.8391 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.06409, allocations: 88.25 kB / 0.8391 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.06414, allocations: 35.95 kB / 0.8392 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004154/0.06455, allocations: 0.5551 MB / 0.8397 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.06455, allocations: 0 / 0.8397 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001116/0.06567, allocations: 0.764 MB / 0.8405 GB, free: 1.344 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.0003944/0.06606, allocations: 217.8 kB / 0.8407 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.06714, allocations: 0.8153 MB / 0.8415 GB, free: 312 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/0.06715, allocations: 16 kB / 0.8415 GB, free: 296 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.06744, allocations: 250.2 kB / 0.8417 GB, free: 48 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.06882, allocations: 0.6613 MB / 0.8424 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.07145, allocations: 2.407 MB / 0.8447 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.07164, allocations: 289.6 kB / 0.845 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007275/0.07236, allocations: 290.4 kB / 0.8453 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.07337, allocations: 0.534 MB / 0.8458 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.07337, allocations: 0 / 0.8458 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of Templates: time 0.03854/0.1119, allocations: 29.53 MB / 0.8746 GB, free: 14.85 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.504235434345901]