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.001305/0.001305, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001409/0.001409, allocations: 209 kB / 24.48 MB, free: 3.938 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.328/1.328, allocations: 207.7 MB / 235.3 MB, free: 9.77 MB / 190.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.2792/0.2792, allocations: 49.62 MB / 337.2 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 180] 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.002227/0.002227, allocations: 80.31 kB / 477.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1052, allocations: 62.43 MB / 0.5274 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2276/0.3328, allocations: 46.73 MB / 0.573 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.3514, allocations: 15.39 MB / 0.588 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.3517, allocations: 12.75 kB / 0.5881 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.3524, allocations: 260.9 kB / 0.5883 GB, free: 420 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005459/0.3579, allocations: 2.361 MB / 0.5906 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008319/0.3662, allocations: 3.2 MB / 0.5937 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.3673, allocations: 0.8564 MB / 0.5946 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.3677, allocations: 242.5 kB / 0.5948 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.3681, allocations: 353.3 kB / 0.5951 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.3686, allocations: 375.2 kB / 0.5955 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.3687, allocations: 32.53 kB / 0.5955 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/0.3811, allocations: 7.128 MB / 0.6025 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.3813, allocations: 102.5 kB / 0.6026 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.3816, allocations: 212.9 kB / 0.6028 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008026/0.3896, allocations: 4.599 MB / 0.6073 GB, free: 3.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3896, allocations: 0 / 0.6073 GB, free: 3.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3896, allocations: 0 / 0.6073 GB, free: 3.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3896, allocations: 0 / 0.6073 GB, free: 3.066 MB / 446.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.002585/0.3922, allocations: 1.323 MB / 0.6086 GB, free: 1.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3923, allocations: 15.97 kB / 0.6086 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.3932, allocations: 152.5 kB / 0.6087 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.3937, allocations: 300.5 kB / 0.609 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3938, allocations: 28.97 kB / 0.609 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.3938, allocations: 36.56 kB / 0.6091 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009509/0.3948, allocations: 0.5587 MB / 0.6096 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3948, allocations: 4 kB / 0.6096 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.3948, allocations: 16 kB / 0.6096 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3948, allocations: 8 kB / 0.6097 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.3955, allocations: 365.7 kB / 0.61 GB, free: 132 kB / 446.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.002117/0.3976, allocations: 1.675 MB / 0.6116 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.3983, allocations: 314 kB / 0.6119 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.3985, allocations: 192.3 kB / 0.6121 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05942/0.4579, allocations: 16.91 MB / 0.6286 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006985/0.4586, allocations: 362 kB / 0.629 GB, free: 12.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.063e-06/0.4586, allocations: 3.938 kB / 0.629 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003798/0.4624, allocations: 1.708 MB / 0.6306 GB, free: 10.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4625, allocations: 144.5 kB / 0.6308 GB, free: 10.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.4629, allocations: 349.6 kB / 0.6311 GB, free: 10.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.463, allocations: 33.7 kB / 0.6312 GB, free: 10.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.4632, allocations: 252.6 kB / 0.6314 GB, free: 9.898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.4633, allocations: 115 kB / 0.6315 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4634, allocations: 78.02 kB / 0.6316 GB, free: 9.703 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4636, allocations: 350.7 kB / 0.6319 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.4639, allocations: 200.1 kB / 0.6321 GB, free: 9.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.4642, allocations: 308.9 kB / 0.6324 GB, free: 8.797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.4648, allocations: 476.6 kB / 0.6329 GB, free: 8.281 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4648, allocations: 4 kB / 0.6329 GB, free: 8.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001148/0.466, allocations: 0.6924 MB / 0.6335 GB, free: 7.547 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.466, allocations: 75.38 kB / 0.6336 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4661, allocations: 3.938 kB / 0.6336 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.4672, allocations: 161.5 kB / 0.6338 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.4675, allocations: 63.91 kB / 0.6338 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.4685, allocations: 1.132 MB / 0.6349 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.4687, allocations: 15.94 kB / 0.6349 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.4687, allocations: 19.98 kB / 0.635 GB, free: 6.012 MB / 478.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.000274/0.469, allocations: 253.1 kB / 0.6352 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.4691, allocations: 51.88 kB / 0.6353 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.4713, allocations: 1.67 MB / 0.6369 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.4713, allocations: 19.97 kB / 0.6369 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4713, allocations: 0 / 0.6369 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4713, allocations: 10.38 kB / 0.6369 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.472, allocations: 0.6031 MB / 0.6375 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.472, allocations: 4 kB / 0.6375 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.4722, allocations: 43.92 kB / 0.6375 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005856/0.4728, allocations: 256.2 kB / 0.6378 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.4728, allocations: 15.98 kB / 0.6378 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.4739, allocations: 1.363 MB / 0.6391 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4739, allocations: 0 / 0.6391 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.4763, allocations: 1.858 MB / 0.641 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.4764, allocations: 95.45 kB / 0.641 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.4765, allocations: 16 kB / 0.6411 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4767, allocations: 11.98 kB / 0.6411 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.4767, allocations: 27.91 kB / 0.6411 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.4768, allocations: 16.02 kB / 0.6411 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.477, allocations: 255.2 kB / 0.6414 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.477, allocations: 0 / 0.6414 GB, free: 15.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002586/0.4796, allocations: 1.119 MB / 0.6424 GB, free: 14.13 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.003874/0.4835, allocations: 1.319 MB / 0.6437 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.4847, allocations: 0.8127 MB / 0.6445 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4848, allocations: 0 / 0.6445 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.4855, allocations: 0.5798 MB / 0.6451 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.4863, allocations: 154.9 kB / 0.6452 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.4886, allocations: 1.594 MB / 0.6468 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4889, allocations: 317.4 kB / 0.6471 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/0.489, allocations: 35.42 kB / 0.6471 GB, free: 9.16 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.489, allocations: 0 / 0.6471 GB, free: 9.16 MB / 494.1 MB Notification: Performance of Templates: time 0.03973/0.5287, allocations: 28.96 MB / 0.6754 GB, free: 12.14 MB / 0.5137 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.981985720805824] Failed to read output from testmodel.py, exit status != 0: 0.5372219700366259 0.551244144 0.15847380600000002 Calling exit ...