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.0009556/0.0009556, allocations: 79.69 kB / 21.74 MB, free: 2.508 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.0009992/0.0009992, allocations: 173.4 kB / 25.18 MB, free: 8.93 MB / 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.9286/0.9286, allocations: 177.2 MB / 205.6 MB, free: 4.359 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.902/1.902, allocations: 389.6 MB / 0.6364 GB, free: 13.25 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.764e-06/1.764e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.125e-05, allocations: 5.688 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.01488/0.0149, allocations: 19.29 MB / 0.7944 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.02518, allocations: 7.213 MB / 0.8014 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.02775, allocations: 83.31 kB / 0.8015 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.02982, allocations: 0.6012 MB / 0.8021 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.0343, allocations: 1.736 MB / 0.8038 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.03686, allocations: 1.403 MB / 0.8052 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.3764/0.4133, allocations: 4.285 MB / 0.8094 GB, free: 21.74 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/0.4157, allocations: 1.201 MB / 0.8105 GB, free: 21.57 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.4198, allocations: 2.079 MB / 0.8126 GB, free: 21.39 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.422, allocations: 1.109 MB / 0.8136 GB, free: 21.26 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005156/0.4225, allocations: 171.5 kB / 0.8138 GB, free: 21.26 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.4241, allocations: 0.6941 MB / 0.8145 GB, free: 21.24 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.4246, allocations: 0.5341 MB / 0.815 GB, free: 21.15 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.4259, allocations: 0.6776 MB / 0.8157 GB, free: 21.07 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.4295, allocations: 1.848 MB / 0.8175 GB, free: 20.88 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4295, allocations: 0.6094 kB / 0.8175 GB, free: 20.88 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4295, allocations: 0 / 0.8175 GB, free: 20.88 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.937e-05/0.4296, allocations: 1.875 kB / 0.8175 GB, free: 20.88 MB / 0.7605 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.003673/0.4333, allocations: 2.117 MB / 0.8195 GB, free: 19.88 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4333, allocations: 14.47 kB / 0.8196 GB, free: 19.88 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.4347, allocations: 481.8 kB / 0.82 GB, free: 19.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.4365, allocations: 1.001 MB / 0.821 GB, free: 19.44 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.4366, allocations: 269.2 kB / 0.8212 GB, free: 19.25 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.4368, allocations: 110.7 kB / 0.8214 GB, free: 19.25 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.4384, allocations: 1.38 MB / 0.8227 GB, free: 18.55 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.4385, allocations: 2.562 kB / 0.8227 GB, free: 18.55 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.4385, allocations: 45.19 kB / 0.8227 GB, free: 18.55 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.4386, allocations: 31.53 kB / 0.8228 GB, free: 18.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.4394, allocations: 432.1 kB / 0.8232 GB, free: 18.53 MB / 0.7605 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.005194/0.4446, allocations: 3.464 MB / 0.8266 GB, free: 16.63 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.4454, allocations: 481 kB / 0.827 GB, free: 16.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.4457, allocations: 183.2 kB / 0.8272 GB, free: 16.47 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4458, allocations: 51.42 kB / 0.8273 GB, free: 16.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4459, allocations: 47.69 kB / 0.8273 GB, free: 16.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=77): time 2.635e-06/0.4459, allocations: 3 kB / 0.8273 GB, free: 16.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=77): time 0.00104/0.4469, allocations: 0.5173 MB / 0.8278 GB, free: 16.36 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.4469, allocations: 111.8 kB / 0.8279 GB, free: 16.23 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.448, allocations: 1.064 MB / 0.829 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.4481, allocations: 48.36 kB / 0.829 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.4483, allocations: 0.5128 MB / 0.8295 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4485, allocations: 278.4 kB / 0.8298 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.4487, allocations: 179.7 kB / 0.8299 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.4488, allocations: 340.6 kB / 0.8303 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.4491, allocations: 169.2 kB / 0.8304 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.4495, allocations: 0.6701 MB / 0.8311 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.4502, allocations: 0.53 MB / 0.8316 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.4502, allocations: 4.5 kB / 0.8316 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001079/0.4513, allocations: 0.6031 MB / 0.8322 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4513, allocations: 10.48 kB / 0.8322 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4514, allocations: 7.328 kB / 0.8322 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4514, allocations: 9.359 kB / 0.8322 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/0.4521, allocations: 282 kB / 0.8325 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4522, allocations: 9.906 kB / 0.8325 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.4528, allocations: 127.9 kB / 0.8326 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.4529, allocations: 32.98 kB / 0.8326 GB, free: 14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005699/0.4535, allocations: 262.2 kB / 0.8329 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004356/0.4539, allocations: 0.664 MB / 0.8335 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006978/0.4546, allocations: 0.5339 MB / 0.8341 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.498e-06/0.4546, allocations: 2.859 kB / 0.8341 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.001041/0.4557, allocations: 0.6028 MB / 0.8347 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4557, allocations: 7.062 kB / 0.8347 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4557, allocations: 10.84 kB / 0.8347 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4557, allocations: 9.688 kB / 0.8347 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/0.4564, allocations: 283.4 kB / 0.835 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4564, allocations: 14.73 kB / 0.835 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.4571, allocations: 117.3 kB / 0.8351 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.4571, allocations: 32.72 kB / 0.8351 GB, free: 12.86 MB / 0.7605 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.0002545/0.4574, allocations: 232 kB / 0.8353 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.4576, allocations: 117.2 kB / 0.8354 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.4587, allocations: 0.7871 MB / 0.8362 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.4587, allocations: 9.938 kB / 0.8362 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4587, allocations: 1.906 kB / 0.8362 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000459/0.4591, allocations: 406.8 kB / 0.8366 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4613, allocations: 1.529 MB / 0.8381 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4614, allocations: 3.188 kB / 0.8381 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.4619, allocations: 192.7 kB / 0.8383 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.4619, allocations: 8.656 kB / 0.8383 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-05/0.4619, allocations: 33.23 kB / 0.8383 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.4619, allocations: 6.312 kB / 0.8383 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4619, allocations: 7.562 kB / 0.8383 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/0.4628, allocations: 0.8687 MB / 0.8392 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.4632, allocations: 202.2 kB / 0.8394 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.4633, allocations: 28.03 kB / 0.8394 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.4638, allocations: 86.75 kB / 0.8395 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4639, allocations: 79.84 kB / 0.8396 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.464, allocations: 35.8 kB / 0.8396 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000467/0.4645, allocations: 0.5546 MB / 0.8401 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4645, allocations: 0 / 0.8401 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001475/0.4659, allocations: 0.7727 MB / 0.8409 GB, free: 10.79 MB / 0.7605 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.0004023/0.4663, allocations: 226.5 kB / 0.8411 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.4676, allocations: 0.813 MB / 0.8419 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.393e-05/0.4676, allocations: 14.16 kB / 0.8419 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.4679, allocations: 243.2 kB / 0.8422 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.4694, allocations: 0.6757 MB / 0.8428 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.4728, allocations: 2.458 MB / 0.8452 GB, free: 9 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.4734, allocations: 0.663 MB / 0.8459 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.4751, allocations: 0.5409 MB / 0.8464 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of SimCode: time 1.713e-06/0.4752, allocations: 0 / 0.8464 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of Templates: time 0.0309/0.5061, allocations: 25.26 MB / 0.8711 GB, free: 15.94 MB / 0.7917 GB " [Timeout remaining time 299] 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 > Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.913227365352213]