Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.000832/0.000832, 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.003283/0.003283, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9007/0.9007, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09127/0.09127, allocations: 19.74 MB / 281.2 MB, free: 9.461 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 417.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.539e-05, allocations: 6.281 kB / 417.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.02937/0.0294, allocations: 40.28 MB / 458.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.04229, allocations: 13.64 MB / 471.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.04262, allocations: 11.88 kB / 471.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.04316, allocations: 190.6 kB / 471.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.0435, allocations: 274 kB / 472.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01597/0.05947, allocations: 6.663 MB / 478.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.06011, allocations: 0.6955 MB / 479.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.06042, allocations: 207.5 kB / 479.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.06069, allocations: 359 kB / 480.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.06088, allocations: 211.3 kB / 480.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.06091, allocations: 31.94 kB / 480.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.07129, allocations: 8.637 MB / 489 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.07137, allocations: 71.69 kB / 489.1 MB, free: 11.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.0715, allocations: 155.5 kB / 489.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007535/0.07904, allocations: 6.696 MB / 495.9 MB, free: 4.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.07904, allocations: 0 / 495.9 MB, free: 4.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.07904, allocations: 0 / 495.9 MB, free: 4.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.07905, allocations: 0 / 495.9 MB, free: 4.332 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.001611/0.08066, allocations: 1.253 MB / 497.2 MB, free: 3.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.0807, allocations: 8.031 kB / 497.2 MB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.08084, allocations: 68.64 kB / 497.2 MB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.08118, allocations: 269.6 kB / 497.5 MB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.0812, allocations: 33.03 kB / 497.5 MB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.08124, allocations: 32.36 kB / 497.6 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.0817, allocations: 406.6 kB / 498 MB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.08171, allocations: 3.938 kB / 498 MB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.08173, allocations: 12 kB / 498 MB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.08174, allocations: 8 kB / 498 MB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.08208, allocations: 254.4 kB / 498.2 MB, free: 1.914 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.0009617/0.08304, allocations: 1.196 MB / 499.4 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.0834, allocations: 194.4 kB / 499.6 MB, free: 476 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.121e-05/0.08349, allocations: 71.48 kB / 499.7 MB, free: 404 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05368/0.1372, allocations: 35.09 MB / 0.5223 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1372, allocations: 34.56 kB / 0.5223 GB, free: 13.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.1372, allocations: 0 / 0.5223 GB, free: 13.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.000799/0.138, allocations: 374.2 kB / 0.5226 GB, free: 12.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.138, allocations: 59.34 kB / 0.5227 GB, free: 12.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1382, allocations: 288.5 kB / 0.523 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1383, allocations: 33.69 kB / 0.523 GB, free: 12.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1384, allocations: 224.3 kB / 0.5232 GB, free: 12.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1384, allocations: 71.42 kB / 0.5233 GB, free: 12.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.1384, allocations: 53.7 kB / 0.5233 GB, free: 12.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.1387, allocations: 338.8 kB / 0.5237 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.1388, allocations: 68.77 kB / 0.5237 GB, free: 11.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1389, allocations: 114.5 kB / 0.5238 GB, free: 11.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.139, allocations: 173.9 kB / 0.524 GB, free: 11.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.139, allocations: 0 / 0.524 GB, free: 11.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003226/0.1394, allocations: 293 kB / 0.5243 GB, free: 11.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1394, allocations: 8 kB / 0.5243 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1394, allocations: 0 / 0.5243 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.1396, allocations: 81.78 kB / 0.5244 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.1397, allocations: 47.97 kB / 0.5244 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008892/0.1406, allocations: 1.868 MB / 0.5262 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.1407, allocations: 20.02 kB / 0.5263 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1407, allocations: 15.98 kB / 0.5263 GB, free: 8.887 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001391/0.1408, allocations: 160.1 kB / 0.5264 GB, free: 8.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.604e-05/0.1409, allocations: 106 kB / 0.5265 GB, free: 8.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001594/0.1411, allocations: 180.8 kB / 0.5267 GB, free: 8.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.1411, allocations: 0 / 0.5267 GB, free: 8.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000294/0.1414, allocations: 290.8 kB / 0.527 GB, free: 8.109 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-06/0.1414, allocations: 8 kB / 0.527 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.1414, allocations: 0 / 0.527 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.1415, allocations: 81.84 kB / 0.5271 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.1416, allocations: 47.91 kB / 0.5271 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008076/0.1424, allocations: 1.865 MB / 0.5289 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.1425, allocations: 15.89 kB / 0.5289 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1425, allocations: 12.12 kB / 0.529 GB, free: 5.949 MB / 442.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.255e-05/0.1426, allocations: 208.1 kB / 0.5292 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1426, allocations: 31.81 kB / 0.5292 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.1433, allocations: 0.8468 MB / 0.53 GB, free: 4.852 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1433, allocations: 15.97 kB / 0.53 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1433, allocations: 0 / 0.53 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1433, allocations: 3.938 kB / 0.53 GB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1436, allocations: 463.5 kB / 0.5305 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1436, allocations: 4 kB / 0.5305 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.1439, allocations: 39.97 kB / 0.5305 GB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.103e-05/0.1439, allocations: 24.84 kB / 0.5305 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1439, allocations: 4 kB / 0.5305 GB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005491/0.1445, allocations: 1.256 MB / 0.5318 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1445, allocations: 0 / 0.5318 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.145, allocations: 0.8238 MB / 0.5326 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1451, allocations: 47.61 kB / 0.5326 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1451, allocations: 8 kB / 0.5326 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1452, allocations: 8.141 kB / 0.5326 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1452, allocations: 23.91 kB / 0.5327 GB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.1452, allocations: 8 kB / 0.5327 GB, free: 1.977 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1453, allocations: 207.1 kB / 0.5329 GB, free: 1.773 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1453, allocations: 64 / 0.5329 GB, free: 1.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00263/0.148, allocations: 1.38 MB / 0.5342 GB, free: 400 kB / 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.003092/0.1511, allocations: 1.606 MB / 0.5358 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006467/0.1517, allocations: 0.5995 MB / 0.5364 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1517, allocations: 4 kB / 0.5364 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.1519, allocations: 267.2 kB / 0.5366 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.1523, allocations: 120.3 kB / 0.5367 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1537, allocations: 1.077 MB / 0.5378 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.1538, allocations: 241.5 kB / 0.538 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.1538, allocations: 28.5 kB / 0.538 GB, free: 12.36 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1538, allocations: 0 / 0.538 GB, free: 12.36 MB / 458.7 MB Notification: Performance of Templates: time 0.02553/0.1794, allocations: 29.38 MB / 0.5667 GB, free: 14.95 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.748550932854414] Failed to read output from testmodel.py, exit status != 0: 0.1851569414138794 0.193164845 0.112372727 Calling exit ...