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.0008399/0.0008399, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003306/0.003306, allocations: 160.3 kB / 24.7 MB, free: 9.43 MB / 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.8364/0.8364, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.1784/0.1784, allocations: 36.34 MB / 275.1 MB, free: 10.89 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.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.413e-06/1.413e-06, allocations: 0 / 415.6 MB, free: 5.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.553e-05, allocations: 2.281 kB / 415.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.1743/0.1744, allocations: 40.15 MB / 455.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009856/0.1842, allocations: 13.65 MB / 469.4 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.1845, allocations: 9.188 kB / 469.4 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.185, allocations: 186.6 kB / 469.6 MB, free: 2.484 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1853, allocations: 269.1 kB / 469.9 MB, free: 2.258 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.1954, allocations: 6.642 MB / 476.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.1959, allocations: 0.6967 MB / 477.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.1962, allocations: 206.2 kB / 477.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.1966, allocations: 353.2 kB / 477.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1968, allocations: 213.4 kB / 478 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.1968, allocations: 27.62 kB / 478 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00946/0.2063, allocations: 8.632 MB / 486.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.2063, allocations: 80.55 kB / 486.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2064, allocations: 151.6 kB / 486.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005738/0.2122, allocations: 6.681 MB / 493.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2122, allocations: 3.984 kB / 493.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2122, allocations: 0 / 493.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2122, allocations: 0 / 493.5 MB, free: 15.29 MB / 394.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.001596/0.2138, allocations: 1.242 MB / 494.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2138, allocations: 12.03 kB / 494.8 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.214, allocations: 68.64 kB / 494.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.2143, allocations: 277.6 kB / 495.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2143, allocations: 27.25 kB / 495.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.2144, allocations: 32.33 kB / 495.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.2148, allocations: 406.8 kB / 495.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2149, allocations: 4 kB / 495.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.2149, allocations: 15.94 kB / 495.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2149, allocations: 8 kB / 495.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.2152, allocations: 258.3 kB / 495.9 MB, free: 12.87 MB / 394.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.0009844/0.2162, allocations: 1.191 MB / 497 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.2166, allocations: 206.4 kB / 497.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.2167, allocations: 56.84 kB / 497.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05068/0.2673, allocations: 33.63 MB / 0.5185 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2674, allocations: 34.5 kB / 0.5185 GB, free: 9.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 3.607e-06/0.2674, allocations: 0 / 0.5185 GB, free: 9.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008357/0.2682, allocations: 382 kB / 0.5189 GB, free: 9.262 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2682, allocations: 55.34 kB / 0.5189 GB, free: 9.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.2685, allocations: 292.5 kB / 0.5192 GB, free: 8.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2685, allocations: 33.64 kB / 0.5193 GB, free: 8.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2686, allocations: 220.4 kB / 0.5195 GB, free: 8.641 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.2686, allocations: 67.42 kB / 0.5195 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.2687, allocations: 45.7 kB / 0.5196 GB, free: 8.523 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.2688, allocations: 338.8 kB / 0.5199 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.2688, allocations: 72.83 kB / 0.52 GB, free: 8.109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.2689, allocations: 110 kB / 0.5201 GB, free: 7.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.2691, allocations: 169.8 kB / 0.5202 GB, free: 7.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2691, allocations: 3.938 kB / 0.5202 GB, free: 7.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003339/0.2695, allocations: 290.8 kB / 0.5205 GB, free: 7.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2695, allocations: 11.94 kB / 0.5205 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2695, allocations: 0 / 0.5205 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.2697, allocations: 85.78 kB / 0.5206 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2698, allocations: 47.97 kB / 0.5207 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/0.2708, allocations: 1.868 MB / 0.5225 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.2708, allocations: 27.77 kB / 0.5225 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.2709, allocations: 4 kB / 0.5225 GB, free: 5.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001385/0.271, allocations: 169.1 kB / 0.5227 GB, free: 5.152 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.82e-05/0.2711, allocations: 110 kB / 0.5228 GB, free: 5.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001567/0.2712, allocations: 169.9 kB / 0.5229 GB, free: 4.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.664e-06/0.2712, allocations: 0 / 0.5229 GB, free: 4.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003011/0.2715, allocations: 294.7 kB / 0.5232 GB, free: 4.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/0.2716, allocations: 8 kB / 0.5232 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.2716, allocations: 0 / 0.5232 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.2717, allocations: 77.66 kB / 0.5233 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.2718, allocations: 52.11 kB / 0.5233 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007854/0.2726, allocations: 1.869 MB / 0.5252 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.2726, allocations: 17.14 kB / 0.5252 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2727, allocations: 12 kB / 0.5252 GB, free: 2.367 MB / 426.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 8.479e-05/0.2727, allocations: 196.1 kB / 0.5254 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.2728, allocations: 31.94 kB / 0.5254 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.2734, allocations: 0.8622 MB / 0.5263 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2734, allocations: 11.98 kB / 0.5263 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.2734, allocations: 0 / 0.5263 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2734, allocations: 3.984 kB / 0.5263 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.2737, allocations: 459.5 kB / 0.5267 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2737, allocations: 0 / 0.5267 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.2738, allocations: 39.3 kB / 0.5267 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/0.2739, allocations: 28.84 kB / 0.5268 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2739, allocations: 4 kB / 0.5268 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005268/0.2744, allocations: 1.256 MB / 0.528 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2744, allocations: 0 / 0.528 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.275, allocations: 0.8279 MB / 0.5288 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.275, allocations: 47.53 kB / 0.5289 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.275, allocations: 12.03 kB / 0.5289 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.2751, allocations: 8 kB / 0.5289 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2751, allocations: 15.91 kB / 0.5289 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2751, allocations: 4 kB / 0.5289 GB, free: 14.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.2753, allocations: 203.1 kB / 0.5291 GB, free: 14.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2753, allocations: 0 / 0.5291 GB, free: 14.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00249/0.2778, allocations: 1.376 MB / 0.5304 GB, free: 12.83 MB / 442.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.00298/0.2807, allocations: 1.606 MB / 0.532 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006246/0.2814, allocations: 0.5997 MB / 0.5326 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2814, allocations: 4.062 kB / 0.5326 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2815, allocations: 275.2 kB / 0.5329 GB, free: 10.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.282, allocations: 119.6 kB / 0.533 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2831, allocations: 1.079 MB / 0.534 GB, free: 9.078 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2832, allocations: 233.5 kB / 0.5342 GB, free: 8.828 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2832, allocations: 28.5 kB / 0.5343 GB, free: 8.801 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2832, allocations: 0 / 0.5343 GB, free: 8.801 MB / 442.7 MB Notification: Performance of Templates: time 0.02223/0.3055, allocations: 29.21 MB / 0.5628 GB, free: 11.54 MB / 474.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: 6.992134961299598] Failed to read output from testmodel.py, exit status != 0: 0.3105403771623969 0.317205828 0.103434144 Calling exit ...