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.001918/0.001918, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002086/0.002086, allocations: 165.3 kB / 24.28 MB, free: 148 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.365/1.365, 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.2785/0.2785, allocations: 36.34 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.523e-06/1.523e-06, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.901e-05, allocations: 5.688 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.05842/0.05845, allocations: 45.02 MB / 398.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02389/0.08234, allocations: 15.05 MB / 413.2 MB, free: 7.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.08292, allocations: 11.94 kB / 413.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008003/0.08372, allocations: 190.5 kB / 413.4 MB, free: 7.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.08435, allocations: 270 kB / 413.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01963/0.104, allocations: 6.645 MB / 420.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1053, allocations: 0.6877 MB / 421 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.1057, allocations: 211.6 kB / 421.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.1063, allocations: 359 kB / 421.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.1067, allocations: 219.3 kB / 421.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.1068, allocations: 28 kB / 421.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/0.1251, allocations: 8.637 MB / 430.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1252, allocations: 71.69 kB / 430.5 MB, free: 6.133 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.1255, allocations: 151.6 kB / 430.6 MB, free: 5.984 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.201/0.3265, allocations: 6.682 MB / 437.3 MB, free: 31.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.3265, allocations: 0 / 437.3 MB, free: 31.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3265, allocations: 2.5 kB / 437.3 MB, free: 31.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3266, allocations: 0 / 437.3 MB, free: 31.39 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.005372/0.3319, allocations: 1.365 MB / 438.7 MB, free: 30.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.332, allocations: 9.156 kB / 438.7 MB, free: 30.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.3323, allocations: 102.1 kB / 438.8 MB, free: 30.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.3327, allocations: 292.4 kB / 439 MB, free: 30.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3327, allocations: 19.34 kB / 439.1 MB, free: 30.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.3328, allocations: 32.59 kB / 439.1 MB, free: 30.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007565/0.3335, allocations: 432.6 kB / 439.5 MB, free: 30.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3335, allocations: 0.5156 kB / 439.5 MB, free: 30.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.3336, allocations: 18.75 kB / 439.5 MB, free: 30.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3336, allocations: 9.844 kB / 439.6 MB, free: 30.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006033/0.3342, allocations: 248.3 kB / 439.8 MB, free: 30.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.3358, allocations: 1.55 MB / 441.3 MB, free: 29.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.3364, allocations: 213.8 kB / 441.6 MB, free: 29.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3365, allocations: 64.94 kB / 441.6 MB, free: 29.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1099/0.4465, allocations: 33.64 MB / 475.3 MB, free: 17.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.4465, allocations: 39.27 kB / 475.3 MB, free: 17.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.824e-06/0.4465, allocations: 0 / 475.3 MB, free: 17.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001345/0.4478, allocations: 399.2 kB / 475.7 MB, free: 17.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.4479, allocations: 59.34 kB / 475.7 MB, free: 17.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.4482, allocations: 375.8 kB / 476.1 MB, free: 16.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4482, allocations: 29.02 kB / 476.1 MB, free: 16.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4483, allocations: 278.3 kB / 476.4 MB, free: 16.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.4484, allocations: 74 kB / 476.5 MB, free: 16.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.4485, allocations: 60.38 kB / 476.5 MB, free: 16.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.4485, allocations: 0.5224 MB / 477.1 MB, free: 16.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.4487, allocations: 64.48 kB / 477.1 MB, free: 16.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4488, allocations: 128 kB / 477.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.449, allocations: 204.9 kB / 477.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.449, allocations: 0 / 477.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005336/0.4496, allocations: 307.8 kB / 477.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4496, allocations: 6.656 kB / 477.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4496, allocations: 4 kB / 477.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.45, allocations: 89.06 kB / 477.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.4502, allocations: 39.27 kB / 477.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.4514, allocations: 2.671 MB / 480.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4516, allocations: 24.7 kB / 480.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4516, allocations: 11.62 kB / 480.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002058/0.4518, allocations: 203.1 kB / 480.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001228/0.452, allocations: 132.2 kB / 480.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002213/0.4522, allocations: 196.5 kB / 481.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.4522, allocations: 4 kB / 481.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005013/0.4527, allocations: 304.8 kB / 481.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.4527, allocations: 4 kB / 481.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.4527, allocations: 4 kB / 481.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.453, allocations: 86.44 kB / 481.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.4532, allocations: 46.41 kB / 481.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4543, allocations: 2.673 MB / 484.2 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.4545, allocations: 16.86 kB / 484.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.4545, allocations: 15.75 kB / 484.3 MB, free: 9.016 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.916e-05/0.4546, allocations: 278.7 kB / 484.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.4546, allocations: 35.38 kB / 484.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/0.4553, allocations: 0.569 MB / 485.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4553, allocations: 10.67 kB / 485.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4554, allocations: 2.938 kB / 485.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4554, allocations: 0 / 485.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.4558, allocations: 417 kB / 485.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4558, allocations: 4 kB / 485.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.456, allocations: 38.8 kB / 485.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.4561, allocations: 38.09 kB / 485.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.4561, allocations: 4.656 kB / 485.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007142/0.4569, allocations: 1.789 MB / 487.4 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4569, allocations: 0 / 487.4 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.4575, allocations: 0.6317 MB / 488.1 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.4576, allocations: 55.08 kB / 488.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.4576, allocations: 3.375 kB / 488.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.4578, allocations: 4 kB / 488.1 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.4578, allocations: 15.09 kB / 488.1 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4578, allocations: 10.06 kB / 488.1 MB, free: 5.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.458, allocations: 262.6 kB / 488.4 MB, free: 5.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.458, allocations: 1.422 kB / 488.4 MB, free: 5.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003737/0.4618, allocations: 1.375 MB / 489.8 MB, free: 3.754 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.006855/0.4686, allocations: 1.585 MB / 491.4 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.4698, allocations: 0.6883 MB / 492 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4698, allocations: 0 / 492 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.4701, allocations: 307.5 kB / 492.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.471, allocations: 124.7 kB / 492.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4726, allocations: 1.013 MB / 493.5 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.4728, allocations: 233.5 kB / 493.7 MB, free: 84 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.4731, allocations: 137.3 kB / 493.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.4731, allocations: 24.5 kB / 493.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.4731, allocations: 3.094 kB / 493.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of Templates: time 0.08286/0.556, allocations: 50.85 MB / 0.532 GB, free: 13.2 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.763398432987742]