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.0009988/0.0009988, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0008164/0.0008164, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.8062/0.8062, allocations: 158.6 MB / 185.7 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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.1641/0.1641, allocations: 36.34 MB / 274.3 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 414.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.045e-05, allocations: 6.219 kB / 414.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.1821/0.1821, allocations: 33.81 MB / 448.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.1926, allocations: 13.05 MB / 461.2 MB, free: 7.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.1929, allocations: 20.41 kB / 461.2 MB, free: 7.371 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.1933, allocations: 140.4 kB / 461.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1936, allocations: 224.5 kB / 461.6 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01272/0.2063, allocations: 6.536 MB / 468.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.207, allocations: 0.6305 MB / 468.8 MB, free: 2.883 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.2073, allocations: 169.8 kB / 468.9 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.2076, allocations: 326 kB / 469.2 MB, free: 2.578 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.2078, allocations: 182.2 kB / 469.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.2078, allocations: 24.28 kB / 469.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.2191, allocations: 8.569 MB / 478 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.2192, allocations: 71.61 kB / 478.1 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.2195, allocations: 135.7 kB / 478.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01485/0.2343, allocations: 6.575 MB / 484.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.2343, allocations: 0 / 484.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2343, allocations: 3.938 kB / 484.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.2343, allocations: 0 / 484.8 MB, free: 7.102 MB / 378.7 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.003901/0.2382, allocations: 1.183 MB / 486 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2383, allocations: 12.03 kB / 486 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.2383, allocations: 62.72 kB / 486.1 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.2385, allocations: 60.64 kB / 486.1 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.2389, allocations: 272.3 kB / 486.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2389, allocations: 28.97 kB / 486.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.2389, allocations: 24.38 kB / 486.4 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.2394, allocations: 345.6 kB / 486.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2395, allocations: 7.938 kB / 486.8 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.2395, allocations: 11.81 kB / 486.8 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2395, allocations: 15.92 kB / 486.8 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.2398, allocations: 205.8 kB / 487 MB, free: 4.805 MB / 378.7 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.001226/0.241, allocations: 1.172 MB / 488.2 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.2414, allocations: 178.6 kB / 488.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.2415, allocations: 48.84 kB / 488.4 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05481/0.2963, allocations: 33.63 MB / 0.5098 GB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.2963, allocations: 34.56 kB / 0.5098 GB, free: 1.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.715e-06/0.2963, allocations: 0 / 0.5098 GB, free: 1.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008362/0.2972, allocations: 318.1 kB / 0.5101 GB, free: 1.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2972, allocations: 51.41 kB / 0.5102 GB, free: 1.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2975, allocations: 365.6 kB / 0.5105 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2975, allocations: 29.7 kB / 0.5106 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.2976, allocations: 212.2 kB / 0.5108 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.2977, allocations: 55.47 kB / 0.5108 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.2977, allocations: 41.72 kB / 0.5109 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.2978, allocations: 346.7 kB / 0.5112 GB, free: 164 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.2979, allocations: 47.97 kB / 0.5112 GB, free: 116 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.298, allocations: 102.7 kB / 0.5113 GB, free: 15.99 MB / 426.7 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.0005971/0.2986, allocations: 289.1 kB / 0.5116 GB, free: 15.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2986, allocations: 0 / 0.5116 GB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002799/0.2989, allocations: 242 kB / 0.5118 GB, free: 15.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2989, allocations: 8 kB / 0.5118 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2989, allocations: 0 / 0.5118 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.716e-05/0.299, allocations: 28.83 kB / 0.5119 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2991, allocations: 56.02 kB / 0.5119 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007188/0.2998, allocations: 1.275 MB / 0.5132 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2999, allocations: 27.88 kB / 0.5132 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2999, allocations: 4 kB / 0.5132 GB, free: 13.92 MB / 426.7 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.000134/0.3001, allocations: 149.8 kB / 0.5133 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3001, allocations: 39.77 kB / 0.5134 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.3006, allocations: 0.6222 MB / 0.514 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.3006, allocations: 11.98 kB / 0.514 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3006, allocations: 0 / 0.514 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3007, allocations: 0 / 0.514 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/0.3016, allocations: 1.043 MB / 0.515 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3016, allocations: 0.875 kB / 0.515 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.3017, allocations: 36.02 kB / 0.5151 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-05/0.3018, allocations: 24.78 kB / 0.5151 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3018, allocations: 8 kB / 0.5151 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005618/0.3024, allocations: 1.272 MB / 0.5163 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3024, allocations: 0.9062 kB / 0.5163 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.3029, allocations: 0.6833 MB / 0.517 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.3029, allocations: 51.62 kB / 0.517 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3029, allocations: 8 kB / 0.5171 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.303, allocations: 0 / 0.5171 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.3031, allocations: 23.91 kB / 0.5171 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3031, allocations: 6.375 kB / 0.5171 GB, free: 9.738 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.3032, allocations: 255.2 kB / 0.5173 GB, free: 9.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3032, allocations: 0 / 0.5173 GB, free: 9.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002513/0.3058, allocations: 1.271 MB / 0.5186 GB, free: 8.223 MB / 426.7 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.004394/0.3101, allocations: 2.592 MB / 0.5211 GB, free: 5.594 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.3105, allocations: 296.7 kB / 0.5214 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3105, allocations: 0 / 0.5214 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3107, allocations: 226.8 kB / 0.5216 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.3113, allocations: 169.1 kB / 0.5218 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.3151, allocations: 3.741 MB / 0.5254 GB, free: 1.012 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.3153, allocations: 208.1 kB / 0.5256 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.3154, allocations: 78.83 kB / 0.5257 GB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3155, allocations: 148.4 kB / 0.5258 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3156, allocations: 3.938 kB / 0.5258 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06513/0.3807, allocations: 55.52 MB / 0.58 GB, free: 8.895 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.381/9.762, allocations: 7.891 kB / 0.5801 GB, free: 8.887 MB / 490.7 MB " [Timeout remaining time 650] (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: 11.741658868268132] Failed to read output from testmodel.py, exit status != 0: 9.881047531962395 9.892867812 9.656508644 Calling exit ...