Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.001951/0.001951, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002489/0.002489, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.432/1.432, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.3121/0.3121, allocations: 36.35 MB / 274.7 MB, free: 10.7 MB / 266.7 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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.329e-05, allocations: 5.969 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.05205/0.05207, allocations: 40.15 MB / 393.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02325/0.07532, allocations: 13.65 MB / 406.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.0757, allocations: 15.88 kB / 406.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.07642, allocations: 186.6 kB / 407.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.07698, allocations: 266 kB / 407.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01898/0.09596, allocations: 6.641 MB / 414 MB, free: 6.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.09705, allocations: 0.6955 MB / 414.7 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.09751, allocations: 207.6 kB / 414.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.09805, allocations: 355 kB / 415.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000381/0.09843, allocations: 219.3 kB / 415.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.09848, allocations: 28 kB / 415.5 MB, free: 5.152 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.1166, allocations: 8.633 MB / 424.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1168, allocations: 75.67 kB / 424.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.1171, allocations: 151.6 kB / 424.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.1316, allocations: 6.688 MB / 431 MB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1316, allocations: 0 / 431 MB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1316, allocations: 4 kB / 431 MB, free: 5.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1316, allocations: 0 / 431 MB, free: 5.578 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003739/0.1353, allocations: 1.238 MB / 432.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1354, allocations: 16.02 kB / 432.3 MB, free: 4.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.1357, allocations: 96.58 kB / 432.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.1363, allocations: 285.5 kB / 432.6 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.1364, allocations: 25.02 kB / 432.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.1364, allocations: 32.38 kB / 432.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1375, allocations: 406.6 kB / 433.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1375, allocations: 3.938 kB / 433.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1375, allocations: 16 kB / 433.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1375, allocations: 8 kB / 433.1 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.1382, allocations: 254.4 kB / 433.4 MB, free: 3.129 MB / 362.7 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.001927/0.1402, allocations: 1.199 MB / 434.6 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.1409, allocations: 202.4 kB / 434.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1411, allocations: 61.14 kB / 434.8 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2469/0.388, allocations: 33.63 MB / 468.4 MB, free: 66.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.388, allocations: 30.56 kB / 468.5 MB, free: 66.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.013e-06/0.388, allocations: 0 / 468.5 MB, free: 66.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001289/0.3893, allocations: 413.5 kB / 468.9 MB, free: 65.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.3893, allocations: 55.41 kB / 468.9 MB, free: 65.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.3896, allocations: 287.8 kB / 469.2 MB, free: 65.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3896, allocations: 30.45 kB / 469.2 MB, free: 65.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.3897, allocations: 223.2 kB / 469.5 MB, free: 65.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.3897, allocations: 67.42 kB / 469.5 MB, free: 65.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.3898, allocations: 49.7 kB / 469.6 MB, free: 65.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.3898, allocations: 338.8 kB / 469.9 MB, free: 64.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3899, allocations: 67.27 kB / 470 MB, free: 64.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3901, allocations: 110 kB / 470.1 MB, free: 64.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3903, allocations: 178.3 kB / 470.3 MB, free: 64.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3903, allocations: 0 / 470.3 MB, free: 64.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005089/0.3908, allocations: 312.2 kB / 470.6 MB, free: 64.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3908, allocations: 4 kB / 470.6 MB, free: 64.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3908, allocations: 4.188 kB / 470.6 MB, free: 64.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000401/0.3912, allocations: 81.59 kB / 470.6 MB, free: 63.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.3914, allocations: 43.97 kB / 470.7 MB, free: 63.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3926, allocations: 1.879 MB / 472.6 MB, free: 61.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3928, allocations: 23.84 kB / 472.6 MB, free: 61.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3928, allocations: 8 kB / 472.6 MB, free: 61.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001954/0.393, allocations: 163.5 kB / 472.8 MB, free: 61.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001204/0.3931, allocations: 110 kB / 472.9 MB, free: 61.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002178/0.3933, allocations: 170 kB / 473 MB, free: 61.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.3934, allocations: 7.938 kB / 473 MB, free: 61.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005069/0.3939, allocations: 294.8 kB / 473.3 MB, free: 61.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.3939, allocations: 4 kB / 473.3 MB, free: 61.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3939, allocations: 4.188 kB / 473.3 MB, free: 61.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/0.3942, allocations: 81.66 kB / 473.4 MB, free: 61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3943, allocations: 51.91 kB / 473.5 MB, free: 60.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009918/0.3953, allocations: 1.874 MB / 475.3 MB, free: 58.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3955, allocations: 19.92 kB / 475.4 MB, free: 58.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3955, allocations: 19.88 kB / 475.4 MB, free: 58.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/0.3956, allocations: 188.2 kB / 475.6 MB, free: 58.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.3956, allocations: 35.81 kB / 475.6 MB, free: 58.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008111/0.3964, allocations: 0.8582 MB / 476.5 MB, free: 57.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3965, allocations: 11.92 kB / 476.5 MB, free: 57.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3965, allocations: 8.062 kB / 476.5 MB, free: 57.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3965, allocations: 3.984 kB / 476.5 MB, free: 57.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.3968, allocations: 450.4 kB / 476.9 MB, free: 57.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3968, allocations: 0 / 476.9 MB, free: 57.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.397, allocations: 47.97 kB / 477 MB, free: 57.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.3972, allocations: 24.84 kB / 477 MB, free: 57.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3972, allocations: 7.938 kB / 477 MB, free: 57.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005953/0.3978, allocations: 1.259 MB / 478.3 MB, free: 55.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3978, allocations: 0 / 478.3 MB, free: 55.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.3985, allocations: 0.8277 MB / 479.1 MB, free: 55.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.3985, allocations: 55.56 kB / 479.1 MB, free: 54.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.3986, allocations: 0 / 479.1 MB, free: 54.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3987, allocations: 12.16 kB / 479.2 MB, free: 54.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3988, allocations: 15.97 kB / 479.2 MB, free: 54.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3988, allocations: 8 kB / 479.2 MB, free: 54.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3989, allocations: 207.1 kB / 479.4 MB, free: 54.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3989, allocations: 0 / 479.4 MB, free: 54.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003301/0.4022, allocations: 1.376 MB / 480.8 MB, free: 53.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005766/0.408, allocations: 1.599 MB / 482.4 MB, free: 51.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.4092, allocations: 0.5809 MB / 482.9 MB, free: 51.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4092, allocations: 0 / 482.9 MB, free: 51.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.4095, allocations: 275.9 kB / 483.2 MB, free: 51.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.4103, allocations: 122.1 kB / 483.3 MB, free: 50.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.4118, allocations: 1.067 MB / 484.4 MB, free: 49.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.4119, allocations: 241.4 kB / 484.6 MB, free: 49.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.4121, allocations: 136.9 kB / 484.8 MB, free: 49.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.4122, allocations: 28.5 kB / 484.8 MB, free: 49.4 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4122, allocations: 0 / 484.8 MB, free: 49.4 MB / 362.7 MB Notification: Performance of Templates: time 0.05033/0.4625, allocations: 49.91 MB / 0.5222 GB, free: 15.45 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.142801124951802]