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.001918/0.001918, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002263/0.002263, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.462/1.462, allocations: 207.6 MB / 231.1 MB, free: 4.117 MB / 174.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.3934/0.3934, allocations: 49.51 MB / 332.5 MB, free: 0.6719 MB / 254.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.002022/0.002022, allocations: 65.34 kB / 470.8 MB, free: 41.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1047, allocations: 62.34 MB / 0.5207 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04009/0.1447, allocations: 37.34 MB / 0.5571 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.1638, allocations: 14.87 MB / 0.5717 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.1642, allocations: 15.94 kB / 0.5717 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.1647, allocations: 150.9 kB / 0.5718 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.1652, allocations: 222.5 kB / 0.572 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/0.1831, allocations: 6.496 MB / 0.5784 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.1841, allocations: 0.5948 MB / 0.579 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.1844, allocations: 179 kB / 0.5791 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.1848, allocations: 235.1 kB / 0.5794 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.1851, allocations: 226.9 kB / 0.5796 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.1851, allocations: 28 kB / 0.5796 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/0.2016, allocations: 8.919 MB / 0.5883 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.2018, allocations: 63.7 kB / 0.5884 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.2021, allocations: 195 kB / 0.5886 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.2151, allocations: 5.148 MB / 0.5936 GB, free: 7.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2151, allocations: 0 / 0.5936 GB, free: 7.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2151, allocations: 4 kB / 0.5936 GB, free: 7.391 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2151, allocations: 0 / 0.5936 GB, free: 7.391 MB / 462.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.00369/0.2188, allocations: 1.278 MB / 0.5948 GB, free: 6.059 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2189, allocations: 11.89 kB / 0.5948 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/0.2189, allocations: 62.73 kB / 0.5949 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.2192, allocations: 52.69 kB / 0.595 GB, free: 5.926 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.2197, allocations: 339.5 kB / 0.5953 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.2197, allocations: 24.88 kB / 0.5953 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.2198, allocations: 31.92 kB / 0.5953 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.2205, allocations: 322.2 kB / 0.5956 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.2205, allocations: 0 / 0.5956 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.2205, allocations: 12 kB / 0.5957 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2205, allocations: 12 kB / 0.5957 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.221, allocations: 206 kB / 0.5959 GB, free: 4.941 MB / 462.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.001938/0.223, allocations: 1.478 MB / 0.5973 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.2235, allocations: 186.5 kB / 0.5975 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2236, allocations: 48.84 kB / 0.5975 GB, free: 3.086 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3611/0.5847, allocations: 64.24 MB / 0.6603 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5847, allocations: 33.22 kB / 0.6603 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.5847, allocations: 0 / 0.6603 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001214/0.5859, allocations: 403.1 kB / 0.6607 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.5859, allocations: 52.94 kB / 0.6607 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.5864, allocations: 366.2 kB / 0.6611 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.5865, allocations: 26.86 kB / 0.6611 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.5866, allocations: 201.6 kB / 0.6613 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.5866, allocations: 57.62 kB / 0.6613 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.5867, allocations: 45.67 kB / 0.6614 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.5868, allocations: 343.9 kB / 0.6617 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.5869, allocations: 42.42 kB / 0.6618 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.587, allocations: 99.03 kB / 0.6619 GB, free: 107.9 MB / 0.4981 GB 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.0009046/0.5879, allocations: 368.8 kB / 0.6622 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5879, allocations: 0 / 0.6622 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003504/0.5883, allocations: 240 kB / 0.6624 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5883, allocations: 7.719 kB / 0.6624 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5883, allocations: 0 / 0.6624 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.5884, allocations: 24.59 kB / 0.6625 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.5886, allocations: 46.31 kB / 0.6625 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007105/0.5893, allocations: 1.387 MB / 0.6639 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.5895, allocations: 33.47 kB / 0.6639 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.5895, allocations: 11.22 kB / 0.6639 GB, free: 106.2 MB / 0.4981 GB 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.0001153/0.5896, allocations: 145.3 kB / 0.664 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.5897, allocations: 38.39 kB / 0.6641 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/0.5903, allocations: 0.6018 MB / 0.6647 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5903, allocations: 7.969 kB / 0.6647 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5903, allocations: 3.984 kB / 0.6647 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5903, allocations: 2.719 kB / 0.6647 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.5912, allocations: 1.069 MB / 0.6657 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5912, allocations: 0 / 0.6657 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.5914, allocations: 35.12 kB / 0.6658 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.901e-05/0.5915, allocations: 32.62 kB / 0.6658 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5915, allocations: 4 kB / 0.6658 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000561/0.592, allocations: 1.375 MB / 0.6671 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.592, allocations: 0 / 0.6671 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.5926, allocations: 0.6594 MB / 0.6678 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.5927, allocations: 127.6 kB / 0.6679 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.5927, allocations: 0.875 kB / 0.6679 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.5929, allocations: 11.92 kB / 0.6679 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.5929, allocations: 14.25 kB / 0.6679 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.5929, allocations: 7.906 kB / 0.6679 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001878/0.5931, allocations: 253.5 kB / 0.6682 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5931, allocations: 0 / 0.6682 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002885/0.596, allocations: 1.277 MB / 0.6694 GB, free: 102.6 MB / 0.4981 GB 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.005175/0.6012, allocations: 2.41 MB / 0.6718 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.6017, allocations: 300.2 kB / 0.6721 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6017, allocations: 0 / 0.6721 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.6019, allocations: 222.5 kB / 0.6723 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008692/0.6027, allocations: 179.8 kB / 0.6725 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.6068, allocations: 3.81 MB / 0.6762 GB, free: 96.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.607, allocations: 0.8076 MB / 0.677 GB, free: 95.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.6072, allocations: 81.03 kB / 0.677 GB, free: 95.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.6073, allocations: 139.4 kB / 0.6772 GB, free: 95.44 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.6073, allocations: 3.938 kB / 0.6772 GB, free: 95.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0865/0.6938, allocations: 54.14 MB / 0.73 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.36, allocations: 0 / 0.73 GB, free: 41.16 MB / 0.4981 GB " [Timeout remaining time 646] (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: 17.537312068001484] Failed to read output from testmodel.py, exit status != 0: 14.47963118700136 14.490436458 14.272974629 Calling exit ...