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.001945/0.001945, 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.002101/0.002101, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1548/0.1548, allocations: 19.73 MB / 280.8 MB, free: 9.301 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.383e-06/1.383e-06, allocations: 0 / 357.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.34e-05, allocations: 9.344 kB / 357.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.05955/0.05958, allocations: 45.16 MB / 402.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.17/0.2295, allocations: 15.05 MB / 417.4 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.2299, allocations: 9.766 kB / 417.5 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.2305, allocations: 186.9 kB / 417.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.231, allocations: 273.9 kB / 417.9 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0167/0.2477, allocations: 6.663 MB / 424.6 MB, free: 16.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008945/0.2486, allocations: 0.6871 MB / 425.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.249, allocations: 219.6 kB / 425.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.2494, allocations: 350.1 kB / 425.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.2497, allocations: 221.5 kB / 426 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.2498, allocations: 27.69 kB / 426.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01504/0.2648, allocations: 8.64 MB / 434.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.2649, allocations: 73.92 kB / 434.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.2652, allocations: 148.4 kB / 434.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.2766, allocations: 6.701 MB / 441.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2766, allocations: 3.406 kB / 441.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2766, allocations: 0 / 441.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.2766, allocations: 0 / 441.6 MB, free: 11.65 MB / 330.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.002689/0.2793, allocations: 1.373 MB / 443 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2794, allocations: 9.188 kB / 443 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.2796, allocations: 100.7 kB / 443.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.28, allocations: 289.8 kB / 443.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.28, allocations: 20.44 kB / 443.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.2801, allocations: 41.45 kB / 443.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.2807, allocations: 431.5 kB / 443.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.2807, allocations: 3.281 kB / 443.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.2808, allocations: 15.41 kB / 443.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.2808, allocations: 9.062 kB / 443.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.2813, allocations: 249.4 kB / 444.1 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.2826, allocations: 1.554 MB / 445.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.2832, allocations: 206.9 kB / 445.9 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2833, allocations: 68.41 kB / 446 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/0.4088, allocations: 35.08 MB / 481 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.4088, allocations: 33.39 kB / 481.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.4088, allocations: 0 / 481.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001466/0.4103, allocations: 400 kB / 481.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4103, allocations: 59.34 kB / 481.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.4108, allocations: 374.3 kB / 481.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4108, allocations: 25.7 kB / 481.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.411, allocations: 279.1 kB / 482.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.874e-05/0.4111, allocations: 75.42 kB / 482.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4112, allocations: 59.36 kB / 482.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.4115, allocations: 0.5196 MB / 482.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4117, allocations: 67.66 kB / 482.9 MB, free: 5.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.4118, allocations: 128.2 kB / 483 MB, free: 5.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.4122, allocations: 200.8 kB / 483.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4122, allocations: 0 / 483.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006533/0.4129, allocations: 305.7 kB / 483.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4129, allocations: 6.812 kB / 483.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4129, allocations: 4 kB / 483.5 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.4133, allocations: 90.78 kB / 483.6 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4135, allocations: 47.34 kB / 483.7 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.4158, allocations: 2.672 MB / 486.3 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.416, allocations: 20.72 kB / 486.4 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.416, allocations: 16.06 kB / 486.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002823/0.4163, allocations: 206.8 kB / 486.6 MB, free: 1.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001985/0.4165, allocations: 135.9 kB / 486.7 MB, free: 1.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003288/0.4169, allocations: 199.9 kB / 486.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.4169, allocations: 0 / 486.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006432/0.4175, allocations: 311.7 kB / 487.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.4175, allocations: 4 kB / 487.2 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4175, allocations: 4 kB / 487.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.4179, allocations: 87.5 kB / 487.3 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.4181, allocations: 43.45 kB / 487.3 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.4205, allocations: 2.662 MB / 490 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.4207, allocations: 27.77 kB / 490 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.4207, allocations: 12 kB / 490 MB, free: 14.18 MB / 378.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 0.0002438/0.421, allocations: 287 kB / 490.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.4211, allocations: 35.23 kB / 490.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009867/0.4221, allocations: 0.5645 MB / 490.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.4221, allocations: 11.98 kB / 490.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.4221, allocations: 0 / 490.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4221, allocations: 3.984 kB / 490.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.4227, allocations: 412.2 kB / 491.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4227, allocations: 2.531 kB / 491.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.4229, allocations: 47.97 kB / 491.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.4231, allocations: 31.67 kB / 491.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4231, allocations: 0 / 491.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.4245, allocations: 1.783 MB / 493.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4245, allocations: 7.297 kB / 493.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.4255, allocations: 0.6318 MB / 493.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.4256, allocations: 51.47 kB / 493.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4256, allocations: 4 kB / 493.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.4257, allocations: 8 kB / 493.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.4258, allocations: 15.62 kB / 493.9 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.4258, allocations: 8 kB / 493.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002845/0.4261, allocations: 260.9 kB / 494.2 MB, free: 9.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4261, allocations: 4.062 kB / 494.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004167/0.4303, allocations: 1.38 MB / 495.6 MB, free: 8.48 MB / 378.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.006145/0.4364, allocations: 1.61 MB / 497.2 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.4379, allocations: 0.6766 MB / 497.8 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4379, allocations: 0 / 497.8 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.4383, allocations: 305.6 kB / 498.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.4391, allocations: 116.4 kB / 498.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.4411, allocations: 1.018 MB / 499.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.4414, allocations: 233.5 kB / 499.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.4417, allocations: 143.6 kB / 499.6 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.4417, allocations: 32.5 kB / 499.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4417, allocations: 0 / 499.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of Templates: time 0.08056/0.5223, allocations: 50.93 MB / 0.5377 GB, free: 1.574 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.438300351030193]