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.001848/0.001848, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00222/0.00222, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.715/1.715, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.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.1578/0.1578, allocations: 26.84 MB / 340.8 MB, free: 7.934 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.003391/0.003391, allocations: 67.89 kB / 477.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3868, allocations: 60.49 MB / 0.5252 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.0372/0.424, allocations: 34.16 MB / 0.5585 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.444, allocations: 13.06 MB / 0.5713 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.4444, allocations: 11.88 kB / 0.5713 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.445, allocations: 135 kB / 0.5714 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.4455, allocations: 214.5 kB / 0.5716 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01939/0.4649, allocations: 6.494 MB / 0.578 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009672/0.4658, allocations: 0.5987 MB / 0.5786 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.4662, allocations: 178.4 kB / 0.5787 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.4666, allocations: 239 kB / 0.579 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.4669, allocations: 210.9 kB / 0.5792 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.467, allocations: 24 kB / 0.5792 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01793/0.4849, allocations: 8.544 MB / 0.5875 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.485, allocations: 71.64 kB / 0.5876 GB, free: 4.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.4853, allocations: 159.3 kB / 0.5877 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.4985, allocations: 5.16 MB / 0.5928 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4985, allocations: 4 kB / 0.5928 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4985, allocations: 0 / 0.5928 GB, free: 15.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.4985, allocations: 0 / 0.5928 GB, free: 15.33 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.003617/0.5021, allocations: 1.199 MB / 0.594 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5021, allocations: 8.031 kB / 0.594 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.5024, allocations: 60.64 kB / 0.594 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.5029, allocations: 270.4 kB / 0.5943 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.503, allocations: 17.03 kB / 0.5943 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.503, allocations: 32.12 kB / 0.5943 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.5037, allocations: 349 kB / 0.5947 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5038, allocations: 0 / 0.5947 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.5038, allocations: 12 kB / 0.5947 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.5038, allocations: 8 kB / 0.5947 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.5043, allocations: 205.8 kB / 0.5949 GB, free: 13.1 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.001885/0.5062, allocations: 1.122 MB / 0.596 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.5068, allocations: 174.6 kB / 0.5961 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.5069, allocations: 48.84 kB / 0.5962 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/0.6323, allocations: 35.11 MB / 0.6305 GB, free: 8.527 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.6324, allocations: 38.56 kB / 0.6305 GB, free: 8.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.6324, allocations: 3.938 kB / 0.6305 GB, free: 8.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001197/0.6336, allocations: 298.2 kB / 0.6308 GB, free: 8.176 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.6336, allocations: 59.34 kB / 0.6309 GB, free: 8.105 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.634, allocations: 304.4 kB / 0.6311 GB, free: 7.801 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.634, allocations: 25.7 kB / 0.6312 GB, free: 7.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.6342, allocations: 216.2 kB / 0.6314 GB, free: 7.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.6343, allocations: 59.48 kB / 0.6314 GB, free: 7.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.6344, allocations: 41.7 kB / 0.6315 GB, free: 7.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.6346, allocations: 334.8 kB / 0.6318 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.6347, allocations: 51.97 kB / 0.6318 GB, free: 7.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.6349, allocations: 98.7 kB / 0.6319 GB, free: 6.941 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.00105/0.6359, allocations: 289.3 kB / 0.6322 GB, free: 6.637 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6359, allocations: 0 / 0.6322 GB, free: 6.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004722/0.6364, allocations: 230.1 kB / 0.6324 GB, free: 6.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6364, allocations: 4 kB / 0.6324 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6364, allocations: 4 kB / 0.6324 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.6365, allocations: 28.78 kB / 0.6325 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.6367, allocations: 52.12 kB / 0.6325 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.6379, allocations: 1.253 MB / 0.6337 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.638, allocations: 19.89 kB / 0.6338 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6381, allocations: 7.984 kB / 0.6338 GB, free: 4.934 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.0001855/0.6382, allocations: 149.8 kB / 0.6339 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.6383, allocations: 35.75 kB / 0.6339 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008581/0.6392, allocations: 0.619 MB / 0.6346 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6392, allocations: 11.98 kB / 0.6346 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.6392, allocations: 0 / 0.6346 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6392, allocations: 0 / 0.6346 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.6406, allocations: 0.9987 MB / 0.6355 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6406, allocations: 0 / 0.6355 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.6407, allocations: 32.02 kB / 0.6356 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.492e-05/0.6408, allocations: 24.84 kB / 0.6356 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.6409, allocations: 7.938 kB / 0.6356 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.642, allocations: 1.242 MB / 0.6368 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.642, allocations: 160 / 0.6368 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008306/0.6429, allocations: 0.6803 MB / 0.6375 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.6429, allocations: 47.67 kB / 0.6375 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.643, allocations: 0 / 0.6375 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.6431, allocations: 12 kB / 0.6375 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.6432, allocations: 11.97 kB / 0.6375 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6432, allocations: 11.94 kB / 0.6376 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.6434, allocations: 211.1 kB / 0.6378 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6434, allocations: 3.938 kB / 0.6378 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003771/0.6472, allocations: 1.279 MB / 0.639 GB, free: 15.38 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.006391/0.6536, allocations: 1.429 MB / 0.6404 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007853/0.6544, allocations: 293.7 kB / 0.6407 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.6544, allocations: 4 kB / 0.6407 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.6547, allocations: 218.6 kB / 0.6409 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.6556, allocations: 127.9 kB / 0.641 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.6577, allocations: 0.9563 MB / 0.642 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.658, allocations: 208.1 kB / 0.6422 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.6583, allocations: 74.14 kB / 0.6422 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.6583, allocations: 27.44 kB / 0.6422 GB, free: 11.96 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6583, allocations: 0 / 0.6422 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Templates: time 0.07161/0.7299, allocations: 48.91 MB / 0.69 GB, free: 11.07 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.926502564921975] Failed to read output from testmodel.py, exit status != 0: 0.7408662270754576 0.753658704 0.251788766 Calling exit ...