Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.0009617/0.0009617, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0009185/0.0009185, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8697/0.8697, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5373/0.5373, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 3.938 kB / 0.5554 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.697e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.03922/0.03926, allocations: 56.05 MB / 0.6101 GB, free: 10.02 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.05185, allocations: 11.08 MB / 0.621 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.05403, allocations: 79.31 kB / 0.621 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.05602, allocations: 0.6867 MB / 0.6217 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.06163, allocations: 2.128 MB / 0.6238 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.06448, allocations: 1.266 MB / 0.625 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004389/0.06887, allocations: 3.094 MB / 0.628 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.07026, allocations: 0.8238 MB / 0.6289 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.07418, allocations: 1.921 MB / 0.6307 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.07545, allocations: 0.7554 MB / 0.6315 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.0756, allocations: 116 kB / 0.6316 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.07762, allocations: 1.169 MB / 0.6327 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.07787, allocations: 314.6 kB / 0.633 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.07839, allocations: 466.8 kB / 0.6335 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003437/0.08183, allocations: 2.329 MB / 0.6357 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.08183, allocations: 0 / 0.6357 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.08183, allocations: 0 / 0.6357 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.762e-05/0.08186, allocations: 0 / 0.6357 GB, free: 15.71 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002412/0.08427, allocations: 1.672 MB / 0.6374 GB, free: 14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.08432, allocations: 8.031 kB / 0.6374 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.08546, allocations: 427.1 kB / 0.6378 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.08727, allocations: 1.108 MB / 0.6389 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.08733, allocations: 62 kB / 0.6389 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.08741, allocations: 80 kB / 0.639 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.08878, allocations: 1.077 MB / 0.6401 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.0888, allocations: 4 kB / 0.6401 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.08885, allocations: 32 kB / 0.6401 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.08887, allocations: 20 kB / 0.6401 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.0903, allocations: 0.8586 MB / 0.6409 GB, free: 10.2 MB / 0.6042 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.004347/0.09465, allocations: 3.736 MB / 0.6446 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.09633, allocations: 0.7658 MB / 0.6453 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.09671, allocations: 280.6 kB / 0.6456 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.09692, allocations: 83.94 kB / 0.6457 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.09695, allocations: 38.56 kB / 0.6457 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/0.09695, allocations: 0 / 0.6457 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.004073/0.101, allocations: 1.758 MB / 0.6474 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1011, allocations: 59.34 kB / 0.6475 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1021, allocations: 0.9512 MB / 0.6484 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.1021, allocations: 33.7 kB / 0.6485 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.1025, allocations: 0.5547 MB / 0.649 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1026, allocations: 154.7 kB / 0.6492 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1027, allocations: 134.3 kB / 0.6493 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.1028, allocations: 326 kB / 0.6496 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.1033, allocations: 311.3 kB / 0.6499 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000992/0.1043, allocations: 0.9401 MB / 0.6508 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/0.1051, allocations: 0.7136 MB / 0.6515 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1052, allocations: 0 / 0.6515 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001538/0.1067, allocations: 1.001 MB / 0.6525 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1067, allocations: 8 kB / 0.6525 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1067, allocations: 4 kB / 0.6525 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.1075, allocations: 304.7 kB / 0.6528 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1077, allocations: 131.8 kB / 0.6529 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008605/0.1086, allocations: 0.9027 MB / 0.6538 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.1092, allocations: 131.6 kB / 0.6539 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.1093, allocations: 31.98 kB / 0.6539 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007557/0.1101, allocations: 0.5129 MB / 0.6544 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006814/0.1107, allocations: 0.9362 MB / 0.6554 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000871/0.1116, allocations: 0.7139 MB / 0.6561 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.1116, allocations: 0 / 0.6561 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00145/0.1131, allocations: 0.9931 MB / 0.657 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1131, allocations: 4 kB / 0.657 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1131, allocations: 11.94 kB / 0.657 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/0.1136, allocations: 288.8 kB / 0.6573 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.1142, allocations: 127.8 kB / 0.6574 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007456/0.1149, allocations: 0.8919 MB / 0.6583 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.1155, allocations: 127.7 kB / 0.6584 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.1156, allocations: 35.98 kB / 0.6585 GB, free: 7.438 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.1158, allocations: 228 kB / 0.6587 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.1159, allocations: 103.3 kB / 0.6588 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.1179, allocations: 1.077 MB / 0.6598 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.1179, allocations: 7.984 kB / 0.6598 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.118, allocations: 4 kB / 0.6598 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.118, allocations: 11.94 kB / 0.6599 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.1211, allocations: 1.898 MB / 0.6617 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.1211, allocations: 0 / 0.6617 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1212, allocations: 67.89 kB / 0.6618 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000653/0.1219, allocations: 299 kB / 0.6621 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.1219, allocations: 12 kB / 0.6621 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008942/0.1228, allocations: 0.9347 MB / 0.663 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1228, allocations: 4 kB / 0.663 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.125, allocations: 1.138 MB / 0.6641 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.1255, allocations: 179 kB / 0.6643 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.1256, allocations: 16 kB / 0.6643 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.1261, allocations: 67.92 kB / 0.6644 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1262, allocations: 35.88 kB / 0.6644 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000526/0.1267, allocations: 23.98 kB / 0.6644 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009498/0.1277, allocations: 0.6538 MB / 0.665 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.11e-07/0.1277, allocations: 0 / 0.665 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001793/0.1295, allocations: 0.6002 MB / 0.6656 GB, free: 15.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006959/0.1302, allocations: 378.9 kB / 0.666 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.1322, allocations: 1.086 MB / 0.6671 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.1322, allocations: 4 kB / 0.6671 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.1327, allocations: 327.6 kB / 0.6674 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.134, allocations: 393.1 kB / 0.6677 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.1377, allocations: 2.029 MB / 0.6697 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.138, allocations: 481.3 kB / 0.6702 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.1382, allocations: 72.48 kB / 0.6703 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.883e-06/0.1382, allocations: 0 / 0.6703 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.2377/0.376, allocations: 23.28 MB / 0.693 GB, free: 156 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.821600688621402] Failed to read output from testmodel.py, exit status != 0: 0.383148493245244 0.38912872099999996 0.305588117 Calling exit ...