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.0008754/0.0008754, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0009601/0.0009601, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8481/0.8481, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1821/0.1821, 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.853e-06/1.853e-06, allocations: 0 / 414.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.441e-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.1705/0.1705, allocations: 33.81 MB / 448.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1814, allocations: 13.06 MB / 461.2 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1817, allocations: 12.34 kB / 461.2 MB, free: 7.207 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.1821, allocations: 143.5 kB / 461.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1824, allocations: 229.9 kB / 461.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.1943, allocations: 6.539 MB / 468.1 MB, free: 3.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.1949, allocations: 0.6251 MB / 468.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.1951, allocations: 173.2 kB / 468.9 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.1955, allocations: 320.5 kB / 469.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1957, allocations: 186.6 kB / 469.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.1957, allocations: 24.88 kB / 469.5 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/0.2071, allocations: 8.566 MB / 478 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.2072, allocations: 71.62 kB / 478.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.2074, allocations: 131.7 kB / 478.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009044/0.2164, allocations: 6.576 MB / 484.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2164, allocations: 3.938 kB / 484.8 MB, free: 6.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2164, allocations: 0 / 484.8 MB, free: 6.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2164, allocations: 0 / 484.8 MB, free: 6.961 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.001925/0.2183, allocations: 1.187 MB / 486 MB, free: 5.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2184, allocations: 8.031 kB / 486 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.2184, allocations: 62.73 kB / 486.1 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.2186, allocations: 60.62 kB / 486.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.219, allocations: 275.9 kB / 486.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2191, allocations: 21.03 kB / 486.4 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.2191, allocations: 28.38 kB / 486.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.2196, allocations: 357.4 kB / 486.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.2196, allocations: 3.938 kB / 486.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.2197, allocations: 12 kB / 486.8 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2197, allocations: 8 kB / 486.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.22, allocations: 209.8 kB / 487 MB, free: 4.66 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.001222/0.2212, allocations: 1.176 MB / 488.2 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.2216, allocations: 170.6 kB / 488.3 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.2216, allocations: 48.83 kB / 488.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05454/0.2762, allocations: 33.63 MB / 0.5098 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2762, allocations: 38.56 kB / 0.5098 GB, free: 1.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.2762, allocations: 0 / 0.5098 GB, free: 1.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008622/0.2771, allocations: 306.2 kB / 0.5101 GB, free: 1.156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2771, allocations: 55.41 kB / 0.5102 GB, free: 1.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.2774, allocations: 365.6 kB / 0.5105 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2775, allocations: 29.7 kB / 0.5106 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.2776, allocations: 204.2 kB / 0.5108 GB, free: 488 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.2776, allocations: 63.47 kB / 0.5108 GB, free: 424 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.2777, allocations: 41.7 kB / 0.5109 GB, free: 376 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.2778, allocations: 346.7 kB / 0.5112 GB, free: 20 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.2778, allocations: 48.06 kB / 0.5112 GB, free: 15.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.2779, allocations: 102.7 kB / 0.5113 GB, free: 15.84 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.0006093/0.2786, allocations: 290.6 kB / 0.5116 GB, free: 15.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2786, allocations: 3.938 kB / 0.5116 GB, free: 15.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002759/0.2788, allocations: 234.1 kB / 0.5118 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2788, allocations: 4 kB / 0.5118 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2789, allocations: 4 kB / 0.5118 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.279, allocations: 24.84 kB / 0.5119 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2791, allocations: 52.06 kB / 0.5119 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006959/0.2798, allocations: 1.279 MB / 0.5132 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2799, allocations: 27.78 kB / 0.5132 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2799, allocations: 11.98 kB / 0.5132 GB, free: 13.77 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.0001294/0.28, allocations: 145.9 kB / 0.5133 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.2801, allocations: 39.77 kB / 0.5134 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.2806, allocations: 0.623 MB / 0.514 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.2806, allocations: 12.86 kB / 0.514 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2806, allocations: 0 / 0.514 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2806, allocations: 0 / 0.514 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.2815, allocations: 1.039 MB / 0.515 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2815, allocations: 0 / 0.515 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.371e-05/0.2816, allocations: 39.94 kB / 0.515 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.738e-05/0.2817, allocations: 29.66 kB / 0.5151 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2817, allocations: 4 kB / 0.5151 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005558/0.2823, allocations: 1.273 MB / 0.5163 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2823, allocations: 160 / 0.5163 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.2827, allocations: 0.6864 MB / 0.517 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.2828, allocations: 51.62 kB / 0.517 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2828, allocations: 4 kB / 0.517 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.2829, allocations: 4 kB / 0.5171 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.2829, allocations: 19.91 kB / 0.5171 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.283, allocations: 5.938 kB / 0.5171 GB, free: 9.598 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.2831, allocations: 259.2 kB / 0.5173 GB, free: 9.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2831, allocations: 0 / 0.5173 GB, free: 9.352 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002285/0.2854, allocations: 1.267 MB / 0.5186 GB, free: 8.082 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.004364/0.2898, allocations: 2.588 MB / 0.5211 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.2901, allocations: 300.5 kB / 0.5214 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2901, allocations: 0 / 0.5214 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2903, allocations: 226.8 kB / 0.5216 GB, free: 4.918 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.2908, allocations: 177.1 kB / 0.5218 GB, free: 4.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.2945, allocations: 3.73 MB / 0.5254 GB, free: 0.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.2946, allocations: 212.1 kB / 0.5256 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2947, allocations: 78.83 kB / 0.5257 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2949, allocations: 144.5 kB / 0.5258 GB, free: 436 kB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2949, allocations: 0 / 0.5258 GB, free: 436 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06859/0.3635, allocations: 55.51 MB / 0.58 GB, free: 8.766 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.03/9.394, allocations: 15.89 kB / 0.58 GB, free: 8.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST2_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.43796774931252] Failed to read output from testmodel.py, exit status != 0: 9.515463675372303 9.525258979 9.30699058 Calling exit ...