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.001512/0.001512, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0016/0.0016, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.752/1.752, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.4541/0.4541, allocations: 49.6 MB / 336.4 MB, free: 3.879 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.002249/0.002249, allocations: 71.89 kB / 476.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1587, allocations: 62.42 MB / 0.5262 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.3891/0.5478, allocations: 34.04 MB / 0.5594 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02473/0.5726, allocations: 13.05 MB / 0.5722 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.5731, allocations: 7.344 kB / 0.5722 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.5738, allocations: 146.2 kB / 0.5723 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.5745, allocations: 220.5 kB / 0.5725 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02539/0.5999, allocations: 6.47 MB / 0.5788 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.601, allocations: 0.5933 MB / 0.5794 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.6015, allocations: 174 kB / 0.5796 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.602, allocations: 229.6 kB / 0.5798 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.6024, allocations: 216.8 kB / 0.58 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.6024, allocations: 25.34 kB / 0.58 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02253/0.6249, allocations: 8.54 MB / 0.5884 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.6251, allocations: 72.61 kB / 0.5884 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.6255, allocations: 162 kB / 0.5886 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.6448, allocations: 5.149 MB / 0.5936 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.6448, allocations: 0 / 0.5936 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.6448, allocations: 0 / 0.5936 GB, free: 15.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.6449, allocations: 0 / 0.5936 GB, free: 15.37 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.00509/0.65, allocations: 1.199 MB / 0.5948 GB, free: 14.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.65, allocations: 8 kB / 0.5948 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/0.6501, allocations: 59.11 kB / 0.5948 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.6504, allocations: 60.14 kB / 0.5949 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.651, allocations: 264.5 kB / 0.5952 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.651, allocations: 28.67 kB / 0.5952 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.6511, allocations: 33.02 kB / 0.5952 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.6519, allocations: 356.7 kB / 0.5956 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.6519, allocations: 1.375 kB / 0.5956 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.6519, allocations: 11 kB / 0.5956 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.6519, allocations: 7.25 kB / 0.5956 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.6525, allocations: 207.5 kB / 0.5958 GB, free: 13.8 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.0022/0.6547, allocations: 1.183 MB / 0.5969 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.6552, allocations: 170.6 kB / 0.5971 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.6554, allocations: 52.83 kB / 0.5971 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1254/0.7808, allocations: 33.65 MB / 0.63 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.7809, allocations: 30.56 kB / 0.63 GB, free: 10.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.604e-06/0.7809, allocations: 0 / 0.63 GB, free: 10.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001422/0.7823, allocations: 330 kB / 0.6303 GB, free: 10.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.7823, allocations: 55.34 kB / 0.6304 GB, free: 10.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.7829, allocations: 365.6 kB / 0.6307 GB, free: 9.902 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.783, allocations: 29.7 kB / 0.6308 GB, free: 9.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.7832, allocations: 204.2 kB / 0.631 GB, free: 9.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.7832, allocations: 51.53 kB / 0.631 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.7833, allocations: 45.66 kB / 0.6311 GB, free: 9.562 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.7835, allocations: 346.8 kB / 0.6314 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.7837, allocations: 47.83 kB / 0.6314 GB, free: 9.168 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.7838, allocations: 102.8 kB / 0.6315 GB, free: 9.043 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.001033/0.7849, allocations: 288.9 kB / 0.6318 GB, free: 8.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7849, allocations: 0 / 0.6318 GB, free: 8.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005273/0.7854, allocations: 238 kB / 0.632 GB, free: 8.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.7854, allocations: 12.41 kB / 0.6321 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7854, allocations: 0 / 0.6321 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.7856, allocations: 24.84 kB / 0.6321 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.7858, allocations: 47.86 kB / 0.6321 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.7871, allocations: 1.283 MB / 0.6334 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.7874, allocations: 31.73 kB / 0.6334 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.7874, allocations: 7 kB / 0.6334 GB, free: 6.98 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.000215/0.7876, allocations: 145.7 kB / 0.6335 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.239e-05/0.7877, allocations: 35.8 kB / 0.6336 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/0.7886, allocations: 0.6242 MB / 0.6342 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.7886, allocations: 4 kB / 0.6342 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7887, allocations: 7.938 kB / 0.6342 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.7887, allocations: 7.922 kB / 0.6342 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.7901, allocations: 1.033 MB / 0.6352 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7902, allocations: 0 / 0.6352 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.7903, allocations: 31.98 kB / 0.6353 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.7904, allocations: 28.88 kB / 0.6353 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.7905, allocations: 4 kB / 0.6353 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.7916, allocations: 1.275 MB / 0.6365 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7916, allocations: 3.938 kB / 0.6365 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.7925, allocations: 0.6688 MB / 0.6372 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/0.7925, allocations: 55.62 kB / 0.6372 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.7926, allocations: 8.812 kB / 0.6372 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.7928, allocations: 11.98 kB / 0.6373 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.7928, allocations: 7.984 kB / 0.6373 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7928, allocations: 8 kB / 0.6373 GB, free: 2.809 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.7932, allocations: 255.2 kB / 0.6375 GB, free: 2.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7932, allocations: 4 kB / 0.6375 GB, free: 2.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004811/0.798, allocations: 1.271 MB / 0.6388 GB, free: 1.281 MB / 478.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.009834/0.8078, allocations: 2.428 MB / 0.6411 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008419/0.8087, allocations: 294.5 kB / 0.6414 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.8087, allocations: 0 / 0.6414 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.809, allocations: 230.3 kB / 0.6416 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.8101, allocations: 175.8 kB / 0.6418 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008329/0.8184, allocations: 3.823 MB / 0.6455 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.8187, allocations: 208.1 kB / 0.6457 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.819, allocations: 74.89 kB / 0.6458 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.8192, allocations: 147.4 kB / 0.6459 GB, free: 9.707 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.8192, allocations: 3.938 kB / 0.6459 GB, free: 9.703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/0.955, allocations: 55.25 MB / 0.6999 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.54, allocations: 0 / 0.6999 GB, free: 2.293 MB / 0.5294 GB " [Timeout remaining time 642] (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: 21.411322224885225] Failed to read output from testmodel.py, exit status != 0: 17.70311221294105 17.731825843 17.081402485 Calling exit ...