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.001319/0.001319, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002265/0.002265, allocations: 213.5 kB / 23.74 MB, free: 4.656 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1593/0.1593, allocations: 26.81 MB / 340.7 MB, free: 8.199 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) [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.002069/0.002069, allocations: 68.17 kB / 476.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 60.49 MB / 0.5247 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04499/0.3737, allocations: 37.8 MB / 0.5617 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02116/0.3949, allocations: 14.92 MB / 0.5762 GB, free: 204 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.3953, allocations: 15.94 kB / 0.5762 GB, free: 188 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.396, allocations: 138.9 kB / 0.5764 GB, free: 48 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.3967, allocations: 222.6 kB / 0.5766 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02104/0.4177, allocations: 6.545 MB / 0.583 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.4188, allocations: 0.5909 MB / 0.5836 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.4192, allocations: 182.3 kB / 0.5837 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.4196, allocations: 231 kB / 0.584 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.42, allocations: 230.9 kB / 0.5842 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.42, allocations: 24 kB / 0.5842 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01947/0.4395, allocations: 8.943 MB / 0.5929 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4396, allocations: 63.7 kB / 0.593 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.4399, allocations: 202.9 kB / 0.5932 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.4538, allocations: 5.156 MB / 0.5982 GB, free: 9.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.4538, allocations: 0 / 0.5982 GB, free: 9.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4538, allocations: 3.938 kB / 0.5982 GB, free: 9.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4538, allocations: 0 / 0.5982 GB, free: 9.645 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.005037/0.4588, allocations: 1.199 MB / 0.5994 GB, free: 8.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.4589, allocations: 8.031 kB / 0.5994 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.459, allocations: 66.72 kB / 0.5995 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.4594, allocations: 60.64 kB / 0.5995 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.46, allocations: 278.3 kB / 0.5998 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.4601, allocations: 17.03 kB / 0.5998 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.4602, allocations: 31.94 kB / 0.5998 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.4612, allocations: 323.2 kB / 0.6001 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4612, allocations: 0 / 0.6001 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.4613, allocations: 8 kB / 0.6002 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4613, allocations: 12 kB / 0.6002 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.4621, allocations: 213.7 kB / 0.6004 GB, free: 7.359 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.002847/0.465, allocations: 1.418 MB / 0.6018 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/0.4659, allocations: 174.6 kB / 0.6019 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.466, allocations: 52.84 kB / 0.602 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1284/0.5945, allocations: 34.96 MB / 0.6361 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.5945, allocations: 34.56 kB / 0.6361 GB, free: 2.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.5945, allocations: 3.938 kB / 0.6361 GB, free: 2.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001252/0.5958, allocations: 322 kB / 0.6365 GB, free: 2.211 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5958, allocations: 55.41 kB / 0.6365 GB, free: 2.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.5963, allocations: 365.6 kB / 0.6369 GB, free: 1.773 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.5963, allocations: 29.7 kB / 0.6369 GB, free: 1.738 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.5965, allocations: 200.2 kB / 0.6371 GB, free: 1.539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.5965, allocations: 55.52 kB / 0.6371 GB, free: 1.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.5966, allocations: 49.66 kB / 0.6372 GB, free: 1.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.5968, allocations: 342.8 kB / 0.6375 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.5969, allocations: 47.97 kB / 0.6375 GB, free: 1.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.5971, allocations: 98.7 kB / 0.6376 GB, free: 0.918 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.0009689/0.598, allocations: 300.2 kB / 0.6379 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.598, allocations: 0 / 0.6379 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004593/0.5985, allocations: 234.2 kB / 0.6381 GB, free: 376 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5985, allocations: 11.94 kB / 0.6382 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5985, allocations: 0 / 0.6382 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.5987, allocations: 28.84 kB / 0.6382 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.5988, allocations: 43.92 kB / 0.6382 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.6, allocations: 1.279 MB / 0.6395 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.6002, allocations: 27.8 kB / 0.6395 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.6002, allocations: 20.08 kB / 0.6395 GB, free: 14.85 MB / 494.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.0001908/0.6004, allocations: 145 kB / 0.6397 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.6005, allocations: 39.81 kB / 0.6397 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009028/0.6014, allocations: 0.62 MB / 0.6403 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6014, allocations: 7.984 kB / 0.6403 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6014, allocations: 3.938 kB / 0.6403 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.6014, allocations: 4 kB / 0.6403 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.6028, allocations: 1.065 MB / 0.6414 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6028, allocations: 7.922 kB / 0.6414 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.603, allocations: 31.98 kB / 0.6414 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.704e-05/0.6031, allocations: 20.84 kB / 0.6414 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.6031, allocations: 15.97 kB / 0.6414 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.6042, allocations: 1.284 MB / 0.6427 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6042, allocations: 0 / 0.6427 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.6051, allocations: 0.6686 MB / 0.6433 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.6051, allocations: 51.62 kB / 0.6434 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.6052, allocations: 15.98 kB / 0.6434 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.6054, allocations: 4 kB / 0.6434 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.6054, allocations: 11.98 kB / 0.6434 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.6054, allocations: 4 kB / 0.6434 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002978/0.6057, allocations: 263.2 kB / 0.6437 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.6057, allocations: 0 / 0.6437 GB, free: 10.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003622/0.6093, allocations: 1.275 MB / 0.6449 GB, free: 9.109 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.006828/0.6162, allocations: 2.436 MB / 0.6473 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006914/0.6169, allocations: 294.2 kB / 0.6476 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6169, allocations: 4.062 kB / 0.6476 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.6172, allocations: 226.3 kB / 0.6478 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6182, allocations: 165.2 kB / 0.648 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/0.6247, allocations: 3.825 MB / 0.6517 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.6252, allocations: 0.8116 MB / 0.6525 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.6254, allocations: 74.91 kB / 0.6526 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.6256, allocations: 143.4 kB / 0.6527 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6256, allocations: 0 / 0.6527 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/0.7414, allocations: 54.53 MB / 0.7059 GB, free: 10.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.28, allocations: 3.266 kB / 0.706 GB, free: 10.48 MB / 0.545 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.180392183945514] Failed to read output from testmodel.py, exit status != 0: 16.437687705038115 16.456575684 15.998940088 Calling exit ...