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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 122.1 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 189.2 kB / 20.73 MB, free: 2.184 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.434/1.434, allocations: 207.6 MB / 231.1 MB, free: 4.133 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4416/0.4416, allocations: 49.51 MB / 332.5 MB, free: 0.6992 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 77.84 kB / 470.8 MB, free: 41.01 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1021, allocations: 62.33 MB / 0.5206 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04361/0.1457, allocations: 37.34 MB / 0.5571 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.1662, allocations: 14.88 MB / 0.5716 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.1665, allocations: 7.938 kB / 0.5716 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.167, allocations: 146.9 kB / 0.5718 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.1674, allocations: 226.5 kB / 0.572 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01752/0.185, allocations: 6.507 MB / 0.5783 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.1858, allocations: 0.5871 MB / 0.5789 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.1862, allocations: 181.9 kB / 0.5791 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.1865, allocations: 215.1 kB / 0.5793 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.1869, allocations: 230.9 kB / 0.5795 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.1869, allocations: 24 kB / 0.5795 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01665/0.2035, allocations: 8.931 MB / 0.5882 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2037, allocations: 67.7 kB / 0.5883 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.2039, allocations: 195 kB / 0.5885 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.2171, allocations: 5.144 MB / 0.5935 GB, free: 7.449 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2172, allocations: 0 / 0.5935 GB, free: 7.449 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2172, allocations: 0 / 0.5935 GB, free: 7.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.2172, allocations: 0 / 0.5935 GB, free: 7.449 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.003513/0.2207, allocations: 1.282 MB / 0.5948 GB, free: 6.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.2207, allocations: 11.89 kB / 0.5948 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.672e-05/0.2208, allocations: 58.73 kB / 0.5948 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.2211, allocations: 64.67 kB / 0.5949 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.2217, allocations: 339.5 kB / 0.5952 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2217, allocations: 16.94 kB / 0.5952 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.2217, allocations: 35.94 kB / 0.5953 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.2224, allocations: 314.2 kB / 0.5956 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2224, allocations: 0 / 0.5956 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2225, allocations: 8 kB / 0.5956 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2225, allocations: 12 kB / 0.5956 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.223, allocations: 214 kB / 0.5958 GB, free: 4.996 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.001915/0.2249, allocations: 1.478 MB / 0.5972 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.2254, allocations: 174.6 kB / 0.5974 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.2256, allocations: 60.83 kB / 0.5975 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3491/0.5746, allocations: 64.24 MB / 0.6602 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.5747, allocations: 39.86 kB / 0.6602 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.5747, allocations: 0 / 0.6602 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001184/0.5759, allocations: 389.1 kB / 0.6606 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.5759, allocations: 56.91 kB / 0.6607 GB, free: 109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.5763, allocations: 363.3 kB / 0.661 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5764, allocations: 30.45 kB / 0.661 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.5765, allocations: 200.8 kB / 0.6612 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.5765, allocations: 58.88 kB / 0.6613 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.5766, allocations: 40.09 kB / 0.6613 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.5766, allocations: 341.4 kB / 0.6617 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5768, allocations: 54.06 kB / 0.6617 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.5769, allocations: 96.72 kB / 0.6618 GB, free: 108.3 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.0008528/0.5778, allocations: 375.3 kB / 0.6622 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5778, allocations: 0 / 0.6622 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003596/0.5781, allocations: 236.7 kB / 0.6624 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5782, allocations: 6.125 kB / 0.6624 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5782, allocations: 7.938 kB / 0.6624 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.5783, allocations: 24.44 kB / 0.6624 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.5785, allocations: 46.23 kB / 0.6625 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007601/0.5792, allocations: 1.381 MB / 0.6638 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5794, allocations: 27.09 kB / 0.6638 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.5794, allocations: 15.77 kB / 0.6638 GB, free: 106.5 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.0001277/0.5795, allocations: 151.7 kB / 0.664 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.5796, allocations: 35.17 kB / 0.664 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.5802, allocations: 0.5992 MB / 0.6646 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5802, allocations: 13.59 kB / 0.6646 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5802, allocations: 0 / 0.6646 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5802, allocations: 0 / 0.6646 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009841/0.5812, allocations: 1.076 MB / 0.6657 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5812, allocations: 0 / 0.6657 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.5814, allocations: 35.05 kB / 0.6657 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-05/0.5814, allocations: 28.16 kB / 0.6657 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5815, allocations: 0 / 0.6657 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005979/0.5821, allocations: 1.383 MB / 0.6671 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5821, allocations: 0 / 0.6671 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.5827, allocations: 0.6586 MB / 0.6677 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.5827, allocations: 121.2 kB / 0.6678 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.5828, allocations: 8.844 kB / 0.6679 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.5829, allocations: 4.062 kB / 0.6679 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.583, allocations: 19.73 kB / 0.6679 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.583, allocations: 4.516 kB / 0.6679 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001951/0.5832, allocations: 260 kB / 0.6681 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5832, allocations: 0 / 0.6681 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002688/0.5858, allocations: 1.272 MB / 0.6694 GB, free: 102.8 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.005928/0.5918, allocations: 2.41 MB / 0.6717 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.5923, allocations: 304 kB / 0.672 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5923, allocations: 4.281 kB / 0.672 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.5925, allocations: 226.5 kB / 0.6722 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.5934, allocations: 165.6 kB / 0.6724 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.598, allocations: 3.808 MB / 0.6761 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.5982, allocations: 0.8154 MB / 0.6769 GB, free: 95.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.5984, allocations: 78.89 kB / 0.677 GB, free: 95.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5985, allocations: 139.4 kB / 0.6771 GB, free: 95.59 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.5985, allocations: 2.906 kB / 0.6771 GB, free: 95.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0795/0.678, allocations: 54.13 MB / 0.73 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15, allocations: 11.98 kB / 0.73 GB, free: 41.31 MB / 0.4981 GB " [Timeout remaining time 645] (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: 18.19479005690664] Failed to read output from testmodel.py, exit status != 0: 15.134334307163954 15.149525524 14.929366989 Calling exit ...