Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001716/0.001716, 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.002119/0.002119, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3588/0.3588, allocations: 49.57 MB / 336.3 MB, free: 4.098 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002266/0.002266, allocations: 70.72 kB / 476.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1494, allocations: 62.43 MB / 0.5261 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.3661/0.5155, allocations: 37.66 MB / 0.5629 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02377/0.5393, allocations: 14.93 MB / 0.5775 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005311/0.5398, allocations: 17.28 kB / 0.5775 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.5405, allocations: 146.5 kB / 0.5777 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006003/0.5411, allocations: 218.8 kB / 0.5779 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02693/0.568, allocations: 6.514 MB / 0.5842 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.5693, allocations: 0.5928 MB / 0.5848 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.5697, allocations: 178.4 kB / 0.585 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.57, allocations: 229.1 kB / 0.5852 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.5704, allocations: 236.3 kB / 0.5854 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.5705, allocations: 22.56 kB / 0.5854 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02426/0.5947, allocations: 8.93 MB / 0.5942 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.5949, allocations: 69.75 kB / 0.5942 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.5953, allocations: 197.7 kB / 0.5944 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.6141, allocations: 5.145 MB / 0.5994 GB, free: 10.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.6141, allocations: 6.375 kB / 0.5994 GB, free: 10.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6141, allocations: 0 / 0.5994 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.6141, allocations: 3.938 kB / 0.5994 GB, free: 10.35 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.005727/0.6198, allocations: 1.197 MB / 0.6006 GB, free: 9.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.6199, allocations: 12.98 kB / 0.6006 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.692e-05/0.62, allocations: 59.36 kB / 0.6007 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.6202, allocations: 59.16 kB / 0.6007 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.6208, allocations: 276.1 kB / 0.601 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.6209, allocations: 19.78 kB / 0.601 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.6209, allocations: 33.55 kB / 0.6011 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.6216, allocations: 321.9 kB / 0.6014 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6216, allocations: 0 / 0.6014 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.6217, allocations: 12 kB / 0.6014 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6217, allocations: 8 kB / 0.6014 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.6222, allocations: 213.7 kB / 0.6016 GB, free: 8.684 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.002114/0.6243, allocations: 1.418 MB / 0.603 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.6249, allocations: 174.6 kB / 0.6031 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.625, allocations: 48.84 kB / 0.6032 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.123/0.748, allocations: 33.5 MB / 0.6359 GB, free: 5.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.568e-05/0.7481, allocations: 36.5 kB / 0.6359 GB, free: 5.336 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 3.707e-06/0.7481, allocations: 0 / 0.6359 GB, free: 5.336 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001532/0.7496, allocations: 330 kB / 0.6362 GB, free: 5.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.7497, allocations: 55.41 kB / 0.6363 GB, free: 4.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.7503, allocations: 361.6 kB / 0.6366 GB, free: 4.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.7503, allocations: 29.7 kB / 0.6367 GB, free: 4.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.7505, allocations: 204.2 kB / 0.6369 GB, free: 4.336 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.7506, allocations: 59.52 kB / 0.6369 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.7507, allocations: 41.7 kB / 0.637 GB, free: 4.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.7509, allocations: 346.8 kB / 0.6373 GB, free: 3.883 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.7511, allocations: 51.78 kB / 0.6373 GB, free: 3.832 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.7513, allocations: 98.83 kB / 0.6374 GB, free: 3.711 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.001013/0.7523, allocations: 287.9 kB / 0.6377 GB, free: 3.406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7523, allocations: 0 / 0.6377 GB, free: 3.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005101/0.7528, allocations: 239.6 kB / 0.6379 GB, free: 3.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.7528, allocations: 8.406 kB / 0.638 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.7528, allocations: 4 kB / 0.638 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.753, allocations: 24.84 kB / 0.638 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.7532, allocations: 43.91 kB / 0.638 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.7547, allocations: 1.29 MB / 0.6393 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.755, allocations: 27.97 kB / 0.6393 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.755, allocations: 15.94 kB / 0.6393 GB, free: 1.637 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.0002753/0.7553, allocations: 137.7 kB / 0.6395 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.7554, allocations: 47.75 kB / 0.6395 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.7564, allocations: 0.6162 MB / 0.6401 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7564, allocations: 4 kB / 0.6401 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7564, allocations: 7.938 kB / 0.6401 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7564, allocations: 3.984 kB / 0.6401 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.7581, allocations: 1.068 MB / 0.6412 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.7581, allocations: 0 / 0.6412 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.7582, allocations: 31.98 kB / 0.6412 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.7584, allocations: 24.88 kB / 0.6412 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.7584, allocations: 8 kB / 0.6412 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.7596, allocations: 1.284 MB / 0.6425 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7596, allocations: 0 / 0.6425 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.7605, allocations: 0.6764 MB / 0.6431 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.7607, allocations: 51.72 kB / 0.6432 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.7607, allocations: 11.94 kB / 0.6432 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.7609, allocations: 0 / 0.6432 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.761, allocations: 19.91 kB / 0.6432 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.761, allocations: 4 kB / 0.6432 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.7613, allocations: 259.2 kB / 0.6435 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7613, allocations: 0 / 0.6435 GB, free: 13.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005803/0.7671, allocations: 1.275 MB / 0.6447 GB, free: 11.9 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.009291/0.7764, allocations: 2.413 MB / 0.6471 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007783/0.7772, allocations: 303.5 kB / 0.6474 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7772, allocations: 0 / 0.6474 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.7775, allocations: 222.3 kB / 0.6476 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.7787, allocations: 180 kB / 0.6477 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/0.7881, allocations: 3.818 MB / 0.6515 GB, free: 4.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.789, allocations: 0.8116 MB / 0.6523 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003254/0.7893, allocations: 78.84 kB / 0.6523 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.7895, allocations: 139.4 kB / 0.6525 GB, free: 3.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7895, allocations: 0 / 0.6525 GB, free: 3.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/0.9252, allocations: 54.45 MB / 0.7056 GB, free: 13.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.14, allocations: 19.91 kB / 0.7057 GB, free: 13.12 MB / 0.545 GB " [Timeout remaining time 644] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & python3 -m fmpy simulate --output-file ThermoPower_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_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.750219377001486] Failed to read output from testmodel.py, exit status != 0: 16.304617237001366 16.332015434 15.7126736 Calling exit ...