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.0009339/0.0009339, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009144/0.0009144, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.942/0.942, allocations: 158.6 MB / 186.4 MB, free: 2.918 MB / 170.7 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.1936/0.1936, allocations: 36.34 MB / 275.1 MB, free: 10.64 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.801e-05, allocations: 9.688 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.03395/0.03398, allocations: 31.35 MB / 385.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009811/0.04379, allocations: 10.27 MB / 395.4 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.04418, allocations: 7.938 kB / 395.4 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.04488, allocations: 226.5 kB / 395.6 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00595/0.05083, allocations: 2.392 MB / 398 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007741/0.05857, allocations: 3.256 MB / 401.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.05983, allocations: 0.883 MB / 402.2 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.0605, allocations: 273.2 kB / 402.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007572/0.06125, allocations: 470.8 kB / 402.9 MB, free: 2.145 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.06169, allocations: 331.1 kB / 403.2 MB, free: 1.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.06175, allocations: 32 kB / 403.3 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.07301, allocations: 7.163 MB / 410.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.07316, allocations: 99.55 kB / 410.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.07347, allocations: 171.6 kB / 410.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.08431, allocations: 5.636 MB / 416.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.08431, allocations: 4 kB / 416.3 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08431, allocations: 0 / 416.3 MB, free: 4.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.08433, allocations: 0 / 416.3 MB, free: 4.699 MB / 346.7 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.003116/0.08744, allocations: 1.422 MB / 417.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.08749, allocations: 12.03 kB / 417.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/0.08816, allocations: 208.2 kB / 418 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.08859, allocations: 314.6 kB / 418.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.08862, allocations: 25.03 kB / 418.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.08868, allocations: 36.38 kB / 418.3 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.08931, allocations: 0.4959 MB / 418.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.08933, allocations: 12.06 kB / 418.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.08936, allocations: 15.94 kB / 418.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.08937, allocations: 8 kB / 418.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.08976, allocations: 267 kB / 419.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.09142, allocations: 2.109 MB / 421.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.0918, allocations: 262.4 kB / 421.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.09192, allocations: 127.1 kB / 421.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1867/0.2786, allocations: 16.9 MB / 438.5 MB, free: 71.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.2791, allocations: 308.8 kB / 438.8 MB, free: 71.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/0.2791, allocations: 1.031 kB / 438.8 MB, free: 71.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002294/0.2814, allocations: 1.396 MB / 440.2 MB, free: 70.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2815, allocations: 141.6 kB / 440.3 MB, free: 70.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.2817, allocations: 393.3 kB / 440.7 MB, free: 70.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2818, allocations: 31.89 kB / 440.8 MB, free: 70.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2819, allocations: 296.6 kB / 441.1 MB, free: 70.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.282, allocations: 121 kB / 441.2 MB, free: 70.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.2821, allocations: 81.81 kB / 441.3 MB, free: 70.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.2821, allocations: 0.5293 MB / 441.8 MB, free: 69.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.2823, allocations: 125.3 kB / 441.9 MB, free: 69.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.2824, allocations: 269.4 kB / 442.2 MB, free: 69.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.2827, allocations: 379.8 kB / 442.5 MB, free: 69.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2827, allocations: 3.531 kB / 442.5 MB, free: 69.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006353/0.2834, allocations: 0.5374 MB / 443.1 MB, free: 68.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.2834, allocations: 70.34 kB / 443.1 MB, free: 68.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2834, allocations: 6.5 kB / 443.2 MB, free: 68.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007105/0.2841, allocations: 152.8 kB / 443.3 MB, free: 68.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2843, allocations: 56.25 kB / 443.4 MB, free: 68.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004711/0.2847, allocations: 1.636 MB / 445 MB, free: 67.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2849, allocations: 13.44 kB / 445 MB, free: 67.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.2849, allocations: 19.05 kB / 445 MB, free: 67.29 MB / 362.7 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.0001407/0.285, allocations: 254.8 kB / 445.3 MB, free: 67.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.2851, allocations: 59.38 kB / 445.3 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.2863, allocations: 1.137 MB / 446.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.2863, allocations: 21.36 kB / 446.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2863, allocations: 0.5625 kB / 446.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2863, allocations: 2.141 kB / 446.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.2867, allocations: 0.496 MB / 447 MB, free: 66.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2867, allocations: 3.594 kB / 447 MB, free: 66.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2868, allocations: 43.75 kB / 447 MB, free: 66.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.2871, allocations: 196.9 kB / 447.2 MB, free: 66.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.2871, allocations: 16.88 kB / 447.2 MB, free: 66.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004193/0.2875, allocations: 1.692 MB / 448.9 MB, free: 64.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2875, allocations: 0 / 448.9 MB, free: 64.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.2885, allocations: 1.193 MB / 450.1 MB, free: 64.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2886, allocations: 107 kB / 450.2 MB, free: 64.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.2886, allocations: 11.53 kB / 450.2 MB, free: 64.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.2887, allocations: 9.031 kB / 450.3 MB, free: 64.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.2887, allocations: 21.81 kB / 450.3 MB, free: 64.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.2888, allocations: 21.61 kB / 450.3 MB, free: 64.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.2889, allocations: 253.2 kB / 450.5 MB, free: 64.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2889, allocations: 0 / 450.5 MB, free: 64.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002202/0.2911, allocations: 1.118 MB / 451.7 MB, free: 64.38 MB / 362.7 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.002975/0.2941, allocations: 1.47 MB / 453.1 MB, free: 64.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.2947, allocations: 0.6031 MB / 453.7 MB, free: 63.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2947, allocations: 3.969 kB / 453.7 MB, free: 63.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.295, allocations: 438.7 kB / 454.2 MB, free: 63.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.2955, allocations: 175.4 kB / 454.3 MB, free: 63.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2973, allocations: 1.32 MB / 455.7 MB, free: 62.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.162e-05/0.2974, allocations: 154.1 kB / 455.8 MB, free: 62.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.2976, allocations: 97.58 kB / 455.9 MB, free: 62.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.2976, allocations: 30.31 kB / 455.9 MB, free: 62.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2976, allocations: 3.281 kB / 455.9 MB, free: 62.88 MB / 362.7 MB Notification: Performance of Templates: time 0.03523/0.3329, allocations: 41.1 MB / 497 MB, free: 25.81 MB / 362.7 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.110693048220128]