Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001338/0.001338, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001462/0.001462, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 158.6 MB / 186.3 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2922/0.2922, allocations: 36.36 MB / 274.9 MB, free: 14.64 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 71.91 kB / 415.3 MB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3813, allocations: 62.38 MB / 477.6 MB, free: 43.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.03859/0.4199, allocations: 46.76 MB / 0.5121 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.4383, allocations: 15.38 MB / 0.5271 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.4389, allocations: 13.22 kB / 0.5271 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008701/0.4398, allocations: 266.9 kB / 0.5274 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007161/0.4469, allocations: 2.352 MB / 0.5297 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.4583, allocations: 3.209 MB / 0.5328 GB, free: 320 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.4598, allocations: 0.8501 MB / 0.5337 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.4603, allocations: 242.8 kB / 0.5339 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.4609, allocations: 348 kB / 0.5342 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.4615, allocations: 377.7 kB / 0.5346 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.4616, allocations: 32.66 kB / 0.5346 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01818/0.4798, allocations: 7.138 MB / 0.5416 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.48, allocations: 94.88 kB / 0.5417 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.4805, allocations: 219.7 kB / 0.5419 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.4961, allocations: 4.594 MB / 0.5464 GB, free: 9.027 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4961, allocations: 4 kB / 0.5464 GB, free: 9.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4961, allocations: 1.156 kB / 0.5464 GB, free: 9.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4961, allocations: 3.938 kB / 0.5464 GB, free: 9.02 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004935/0.5011, allocations: 1.316 MB / 0.5477 GB, free: 8.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5011, allocations: 9.25 kB / 0.5477 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.5021, allocations: 156.9 kB / 0.5478 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.5028, allocations: 299.8 kB / 0.5481 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.5029, allocations: 31.25 kB / 0.5481 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.503, allocations: 40.23 kB / 0.5482 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.504, allocations: 0.5672 MB / 0.5487 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.504, allocations: 5.359 kB / 0.5487 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.5041, allocations: 17.48 kB / 0.5488 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.5041, allocations: 8.25 kB / 0.5488 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007772/0.5048, allocations: 364.2 kB / 0.5491 GB, free: 7.027 MB / 462.1 MB 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.002556/0.5074, allocations: 1.662 MB / 0.5507 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.5081, allocations: 314.3 kB / 0.551 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.5084, allocations: 199.8 kB / 0.5512 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06587/0.5742, allocations: 16.91 MB / 0.5677 GB, free: 4.715 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.5751, allocations: 362 kB / 0.5681 GB, free: 4.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.915e-06/0.5751, allocations: 4 kB / 0.5681 GB, free: 4.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004355/0.5794, allocations: 1.702 MB / 0.5697 GB, free: 2.512 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5795, allocations: 144.5 kB / 0.5699 GB, free: 2.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.58, allocations: 353.6 kB / 0.5702 GB, free: 1.988 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5801, allocations: 37.69 kB / 0.5703 GB, free: 1.945 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.5803, allocations: 248.7 kB / 0.5705 GB, free: 1.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5804, allocations: 115 kB / 0.5706 GB, free: 1.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.5806, allocations: 81.97 kB / 0.5707 GB, free: 1.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002638/0.5808, allocations: 350.7 kB / 0.571 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.5811, allocations: 208.2 kB / 0.5712 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.5815, allocations: 305.3 kB / 0.5715 GB, free: 0.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.5822, allocations: 474 kB / 0.572 GB, free: 68 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5822, allocations: 3.969 kB / 0.572 GB, free: 68 kB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001281/0.5835, allocations: 0.6887 MB / 0.5726 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.5836, allocations: 79.38 kB / 0.5727 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5836, allocations: 0 / 0.5727 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.585, allocations: 161.7 kB / 0.5729 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.5852, allocations: 59.91 kB / 0.5729 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.5863, allocations: 1.128 MB / 0.574 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.5866, allocations: 23.92 kB / 0.574 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.5867, allocations: 12.16 kB / 0.5741 GB, free: 13.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.587, allocations: 249.2 kB / 0.5743 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5871, allocations: 47.72 kB / 0.5743 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.5897, allocations: 1.685 MB / 0.576 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.5897, allocations: 23.97 kB / 0.576 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5897, allocations: 7.938 kB / 0.576 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.5897, allocations: 3.938 kB / 0.576 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.5906, allocations: 0.5941 MB / 0.5766 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5906, allocations: 0 / 0.5766 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.5908, allocations: 47.91 kB / 0.5766 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00063/0.5915, allocations: 250.5 kB / 0.5769 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.5915, allocations: 23.98 kB / 0.5769 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.5928, allocations: 1.355 MB / 0.5782 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5928, allocations: 0 / 0.5782 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.5954, allocations: 1.859 MB / 0.5801 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.5956, allocations: 103.4 kB / 0.5801 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/0.5957, allocations: 12.16 kB / 0.5802 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.5959, allocations: 15.98 kB / 0.5802 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.596, allocations: 27.91 kB / 0.5802 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5961, allocations: 16.86 kB / 0.5802 GB, free: 7.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003105/0.5964, allocations: 243.2 kB / 0.5805 GB, free: 7.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5964, allocations: 0 / 0.5805 GB, free: 7.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004709/0.6011, allocations: 1.115 MB / 0.5815 GB, free: 5.949 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006795/0.6079, allocations: 1.323 MB / 0.5828 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.6095, allocations: 0.8247 MB / 0.5836 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6095, allocations: 0 / 0.5836 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009284/0.6104, allocations: 0.5756 MB / 0.5842 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6114, allocations: 169.5 kB / 0.5844 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.6143, allocations: 1.559 MB / 0.5859 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.6147, allocations: 309.5 kB / 0.5862 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.615, allocations: 88.2 kB / 0.5863 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.6151, allocations: 40.48 kB / 0.5863 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6151, allocations: 0 / 0.5863 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of Templates: time 0.06679/0.6818, allocations: 39.89 MB / 0.6253 GB, free: 8.992 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.847282161004841] Failed to read output from testmodel.py, exit status != 0: 0.6917750060092658 0.707363877 0.20767327700000002 Calling exit ...