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.00182/0.00182, allocations: 85.95 kB / 20.68 MB, free: 1.023 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.002228/0.002228, allocations: 167.3 kB / 23.95 MB, free: 4.16 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.295/1.295, allocations: 158.6 MB / 185.7 MB, free: 6.398 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.2805/0.2805, allocations: 36.35 MB / 274.3 MB, free: 0.6016 MB / 254.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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 414.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.506e-05, allocations: 2.281 kB / 414.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05737/0.05739, allocations: 46.39 MB / 461.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2045/0.2619, allocations: 15.31 MB / 476.5 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.2622, allocations: 11.53 kB / 476.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.2629, allocations: 266.9 kB / 476.8 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.2687, allocations: 2.391 MB / 479.2 MB, free: 15.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008394/0.2771, allocations: 3.254 MB / 482.5 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.2784, allocations: 0.8774 MB / 483.3 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.2789, allocations: 254.2 kB / 483.6 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.2794, allocations: 476.3 kB / 484.1 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.2798, allocations: 342.4 kB / 484.4 MB, free: 14.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.2799, allocations: 34.67 kB / 484.4 MB, free: 14.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.2941, allocations: 7.139 MB / 491.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2943, allocations: 101.2 kB / 491.7 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.2946, allocations: 174.7 kB / 491.8 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.3055, allocations: 5.738 MB / 497.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3055, allocations: 0 / 497.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3055, allocations: 0 / 497.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.3056, allocations: 0 / 497.6 MB, free: 13.05 MB / 398.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.002547/0.3081, allocations: 1.324 MB / 498.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3081, allocations: 9.188 kB / 498.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.3091, allocations: 152.8 kB / 499.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.3095, allocations: 299.8 kB / 499.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.3095, allocations: 25.88 kB / 499.4 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.3096, allocations: 32.81 kB / 499.4 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.3104, allocations: 0.5558 MB / 500 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3104, allocations: 5.906 kB / 500 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3104, allocations: 19.97 kB / 500 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3104, allocations: 7.844 kB / 500 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.311, allocations: 369.7 kB / 0.4886 GB, free: 11.48 MB / 398.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.001508/0.3125, allocations: 1.677 MB / 0.4903 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.313, allocations: 311.7 kB / 0.4906 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.3132, allocations: 193.4 kB / 0.4907 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05617/0.3694, allocations: 16.92 MB / 0.5073 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007824/0.3702, allocations: 362.5 kB / 0.5076 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.484e-06/0.3702, allocations: 0 / 0.5076 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004101/0.3743, allocations: 1.698 MB / 0.5093 GB, free: 13.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3744, allocations: 151.9 kB / 0.5094 GB, free: 13.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.3748, allocations: 352 kB / 0.5097 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.3749, allocations: 29.39 kB / 0.5098 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3751, allocations: 258.4 kB / 0.51 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3752, allocations: 114.6 kB / 0.5101 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3754, allocations: 74.64 kB / 0.5102 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3756, allocations: 356.8 kB / 0.5105 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.3758, allocations: 197.4 kB / 0.5107 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.3762, allocations: 311.6 kB / 0.511 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.3768, allocations: 480.7 kB / 0.5115 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3768, allocations: 0 / 0.5115 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001199/0.378, allocations: 0.6921 MB / 0.5122 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/0.3781, allocations: 71.39 kB / 0.5122 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3781, allocations: 4 kB / 0.5122 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.3794, allocations: 162.2 kB / 0.5124 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.3797, allocations: 60.12 kB / 0.5124 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.3808, allocations: 1.134 MB / 0.5136 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.381, allocations: 16.03 kB / 0.5136 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.3811, allocations: 12 kB / 0.5136 GB, free: 9.609 MB / 414.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.0003516/0.3814, allocations: 262.3 kB / 0.5138 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.3815, allocations: 47.72 kB / 0.5139 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.3838, allocations: 1.686 MB / 0.5155 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.3838, allocations: 15.98 kB / 0.5155 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3839, allocations: 3.984 kB / 0.5155 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3839, allocations: 0 / 0.5155 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.3846, allocations: 0.5995 MB / 0.5161 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.3846, allocations: 0 / 0.5161 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.3848, allocations: 39.45 kB / 0.5162 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006382/0.3854, allocations: 261.4 kB / 0.5164 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.3855, allocations: 16.88 kB / 0.5164 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.3866, allocations: 1.354 MB / 0.5178 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3866, allocations: 4.156 kB / 0.5178 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.3891, allocations: 1.868 MB / 0.5196 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.3893, allocations: 107.3 kB / 0.5197 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.3893, allocations: 12 kB / 0.5197 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.3895, allocations: 13.75 kB / 0.5197 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.3896, allocations: 19.95 kB / 0.5197 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.3896, allocations: 16 kB / 0.5197 GB, free: 3.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.3899, allocations: 247.2 kB / 0.52 GB, free: 2.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3899, allocations: 4 kB / 0.52 GB, free: 2.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003281/0.3932, allocations: 1.119 MB / 0.5211 GB, free: 1.777 MB / 414.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.005333/0.3985, allocations: 1.478 MB / 0.5225 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.4, allocations: 0.8142 MB / 0.5233 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4, allocations: 0 / 0.5233 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008134/0.4008, allocations: 0.5724 MB / 0.5239 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/0.4018, allocations: 158.5 kB / 0.524 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.4042, allocations: 1.466 MB / 0.5255 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4045, allocations: 309.5 kB / 0.5258 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.4047, allocations: 89.8 kB / 0.5258 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.4048, allocations: 40.48 kB / 0.5259 GB, free: 12.86 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4048, allocations: 0 / 0.5259 GB, free: 12.86 MB / 430.1 MB Notification: Performance of Templates: time 0.06188/0.4667, allocations: 39.97 MB / 0.5649 GB, free: 4.906 MB / 462.1 MB " [Timeout remaining time 660] 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: 7.47742136567831] Failed to read output from testmodel.py, exit status != 0: 0.47609129175543785 0.49062327399999994 0.18166358600000002 Calling exit ...