Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.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.001416/0.001416, allocations: 77.23 kB / 21.27 MB, free: 0.5391 MB / 14.72 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.001497/0.001497, allocations: 165.2 kB / 24.54 MB, free: 3.832 MB / 14.72 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.2 MB / 204.9 MB, free: 9.277 MB / 190.1 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.1491/0.1491, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 71.91 kB / 417.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 60.44 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.05158/0.4662, allocations: 34.04 MB / 0.5001 GB, free: 156 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.4907, allocations: 13.05 MB / 0.5129 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000528/0.4912, allocations: 11.88 kB / 0.5129 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007722/0.492, allocations: 138.9 kB / 0.513 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006302/0.4926, allocations: 218.5 kB / 0.5132 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02809/0.5207, allocations: 6.488 MB / 0.5195 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.5222, allocations: 0.5948 MB / 0.5201 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.5228, allocations: 186.3 kB / 0.5203 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.5235, allocations: 331 kB / 0.5206 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.5239, allocations: 206.9 kB / 0.5208 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.5239, allocations: 28 kB / 0.5208 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02266/0.5466, allocations: 8.548 MB / 0.5292 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.5468, allocations: 67.7 kB / 0.5293 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.5472, allocations: 167.2 kB / 0.5294 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01965/0.5669, allocations: 5.152 MB / 0.5344 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.5669, allocations: 0 / 0.5344 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.5669, allocations: 4 kB / 0.5344 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.5669, allocations: 4 kB / 0.5344 GB, free: 12.91 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.004958/0.5719, allocations: 1.191 MB / 0.5356 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5719, allocations: 12.02 kB / 0.5356 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.5722, allocations: 64.64 kB / 0.5357 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.5728, allocations: 270.4 kB / 0.5359 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.5728, allocations: 24.97 kB / 0.536 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.5729, allocations: 32.12 kB / 0.536 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.5736, allocations: 349 kB / 0.5363 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5736, allocations: 0 / 0.5363 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.5736, allocations: 12 kB / 0.5363 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.5736, allocations: 4 kB / 0.5363 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.5742, allocations: 217.7 kB / 0.5366 GB, free: 10.66 MB / 446.1 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.001779/0.5759, allocations: 1.103 MB / 0.5376 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.5765, allocations: 186.5 kB / 0.5378 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.5766, allocations: 48.84 kB / 0.5379 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1213/0.698, allocations: 35.12 MB / 0.5722 GB, free: 6.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.698, allocations: 30.56 kB / 0.5722 GB, free: 6.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.698, allocations: 0 / 0.5722 GB, free: 6.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001339/0.6993, allocations: 314 kB / 0.5725 GB, free: 5.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6994, allocations: 51.41 kB / 0.5725 GB, free: 5.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.6998, allocations: 300.5 kB / 0.5728 GB, free: 5.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.6999, allocations: 33.64 kB / 0.5728 GB, free: 5.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.7001, allocations: 212.1 kB / 0.573 GB, free: 5.117 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.7002, allocations: 59.48 kB / 0.5731 GB, free: 5.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.7003, allocations: 41.7 kB / 0.5731 GB, free: 5.012 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.7004, allocations: 334.8 kB / 0.5735 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.7006, allocations: 43.98 kB / 0.5735 GB, free: 4.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.7008, allocations: 109.8 kB / 0.5736 GB, free: 4.504 MB / 478.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7018, allocations: 290.5 kB / 0.5739 GB, free: 4.195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7018, allocations: 4 kB / 0.5739 GB, free: 4.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005153/0.7024, allocations: 222.1 kB / 0.5741 GB, free: 3.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7024, allocations: 8 kB / 0.5741 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7024, allocations: 3.938 kB / 0.5741 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.7025, allocations: 33 kB / 0.5741 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.7028, allocations: 51.91 kB / 0.5742 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.704, allocations: 1.253 MB / 0.5754 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.7042, allocations: 15.89 kB / 0.5754 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.7042, allocations: 12 kB / 0.5754 GB, free: 2.492 MB / 478.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001986/0.7044, allocations: 145.9 kB / 0.5756 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.7045, allocations: 31.81 kB / 0.5756 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008796/0.7054, allocations: 0.6249 MB / 0.5762 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.7054, allocations: 8 kB / 0.5762 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.7054, allocations: 0 / 0.5762 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.7054, allocations: 3.984 kB / 0.5762 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.7068, allocations: 0.9931 MB / 0.5772 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.7068, allocations: 8.031 kB / 0.5772 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.707, allocations: 31.98 kB / 0.5772 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.7071, allocations: 24.84 kB / 0.5773 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.7071, allocations: 7.938 kB / 0.5773 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.7082, allocations: 1.246 MB / 0.5785 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7082, allocations: 0 / 0.5785 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.7091, allocations: 0.6859 MB / 0.5792 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.7091, allocations: 39.67 kB / 0.5792 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.7092, allocations: 8 kB / 0.5792 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.7093, allocations: 0 / 0.5792 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.7094, allocations: 19.97 kB / 0.5792 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.7094, allocations: 7.938 kB / 0.5792 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.7096, allocations: 203.1 kB / 0.5794 GB, free: 14.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7096, allocations: 64 / 0.5794 GB, free: 14.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003771/0.7134, allocations: 1.29 MB / 0.5807 GB, free: 12.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006064/0.7195, allocations: 1.433 MB / 0.5821 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.7202, allocations: 298.5 kB / 0.5824 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7202, allocations: 0 / 0.5824 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.7205, allocations: 222.6 kB / 0.5826 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.7213, allocations: 134.5 kB / 0.5827 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.7231, allocations: 0.9484 MB / 0.5836 GB, free: 9.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.7233, allocations: 212.1 kB / 0.5838 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.7235, allocations: 73.16 kB / 0.5839 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.7236, allocations: 24.5 kB / 0.5839 GB, free: 9.516 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.7236, allocations: 4 kB / 0.5839 GB, free: 9.512 MB / 494.1 MB Notification: Performance of Templates: time 0.07018/0.7938, allocations: 48.36 MB / 0.6312 GB, free: 9.176 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.022592184948735] Failed to read output from testmodel.py, exit status != 0: 0.8034253510413691 1.098746302 0.528380881 Calling exit ...