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.001295/0.001295, allocations: 113 kB / 18.49 MB, free: 4.539 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.001432/0.001432, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.509/1.509, allocations: 207.6 MB / 231.8 MB, free: 4.027 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.4507/0.4507, allocations: 49.51 MB / 333.2 MB, free: 0.7656 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="cs",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.003088/0.003088, allocations: 68.75 kB / 471.5 MB, free: 41.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1082, allocations: 62.35 MB / 0.5214 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04379/0.152, allocations: 37.34 MB / 0.5578 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.1734, allocations: 14.87 MB / 0.5724 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/0.1739, allocations: 7.938 kB / 0.5724 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007349/0.1746, allocations: 150.9 kB / 0.5725 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.1755, allocations: 222.5 kB / 0.5727 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01948/0.1949, allocations: 6.503 MB / 0.5791 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.1959, allocations: 0.5909 MB / 0.5796 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.1962, allocations: 183 kB / 0.5798 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.1966, allocations: 219.1 kB / 0.58 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.1969, allocations: 234.9 kB / 0.5803 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1969, allocations: 24 kB / 0.5803 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.2135, allocations: 8.923 MB / 0.589 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2136, allocations: 75.62 kB / 0.5891 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.2139, allocations: 191 kB / 0.5892 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.2258, allocations: 5.141 MB / 0.5943 GB, free: 7.391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.2258, allocations: 7.984 kB / 0.5943 GB, free: 7.383 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2258, allocations: 0 / 0.5943 GB, free: 7.383 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2258, allocations: 0 / 0.5943 GB, free: 7.383 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.00388/0.2297, allocations: 1.274 MB / 0.5955 GB, free: 6.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.2297, allocations: 11.89 kB / 0.5955 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.713e-05/0.2298, allocations: 8.75 kB / 0.5955 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/0.2298, allocations: 66.66 kB / 0.5956 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.2301, allocations: 60.69 kB / 0.5957 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.2306, allocations: 339.5 kB / 0.596 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.2307, allocations: 24.69 kB / 0.596 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.2307, allocations: 28 kB / 0.596 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.2314, allocations: 318.2 kB / 0.5963 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2315, allocations: 0 / 0.5963 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.2315, allocations: 15.98 kB / 0.5963 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2315, allocations: 12 kB / 0.5964 GB, free: 5.121 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.232, allocations: 202.1 kB / 0.5966 GB, free: 4.926 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.002121/0.2342, allocations: 1.482 MB / 0.598 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.2347, allocations: 174.6 kB / 0.5982 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.2348, allocations: 56.84 kB / 0.5982 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.367/0.6018, allocations: 64.25 MB / 0.661 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.6019, allocations: 30.56 kB / 0.661 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.6019, allocations: 1.125 kB / 0.661 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001178/0.603, allocations: 399 kB / 0.6614 GB, free: 109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.6031, allocations: 54.19 kB / 0.6614 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.6035, allocations: 363.7 kB / 0.6618 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6035, allocations: 30.73 kB / 0.6618 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.6036, allocations: 200 kB / 0.662 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.6037, allocations: 62.06 kB / 0.662 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.6038, allocations: 44.55 kB / 0.6621 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.6038, allocations: 342 kB / 0.6624 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.604, allocations: 47.11 kB / 0.6625 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.6041, allocations: 103.3 kB / 0.6626 GB, free: 108.2 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.0009279/0.605, allocations: 363.8 kB / 0.6629 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.605, allocations: 0 / 0.6629 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004273/0.6055, allocations: 242.4 kB / 0.6631 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6055, allocations: 7.625 kB / 0.6631 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6055, allocations: 0 / 0.6631 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.6056, allocations: 23.97 kB / 0.6632 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.6058, allocations: 47.12 kB / 0.6632 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007131/0.6065, allocations: 1.387 MB / 0.6646 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.6067, allocations: 29.55 kB / 0.6646 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.6067, allocations: 7.594 kB / 0.6646 GB, free: 106.3 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.000122/0.6068, allocations: 138.5 kB / 0.6647 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.6069, allocations: 43.56 kB / 0.6648 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006251/0.6075, allocations: 0.6013 MB / 0.6654 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.6075, allocations: 4 kB / 0.6654 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6075, allocations: 2.719 kB / 0.6654 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6075, allocations: 12.86 kB / 0.6654 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.6086, allocations: 1.065 MB / 0.6664 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6086, allocations: 0 / 0.6664 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.6087, allocations: 43.22 kB / 0.6665 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.29e-05/0.6088, allocations: 24.14 kB / 0.6665 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.6088, allocations: 3.984 kB / 0.6665 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006582/0.6095, allocations: 1.373 MB / 0.6678 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6095, allocations: 0 / 0.6678 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.6101, allocations: 0.6643 MB / 0.6685 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.6102, allocations: 126.8 kB / 0.6686 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.6103, allocations: 0 / 0.6686 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.6104, allocations: 11.92 kB / 0.6686 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.6105, allocations: 15.77 kB / 0.6686 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.6105, allocations: 6.422 kB / 0.6686 GB, free: 103 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002081/0.6107, allocations: 257.5 kB / 0.6689 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6107, allocations: 4 kB / 0.6689 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003313/0.614, allocations: 1.274 MB / 0.6701 GB, free: 102.7 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.005934/0.6199, allocations: 2.411 MB / 0.6725 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.6205, allocations: 300.1 kB / 0.6728 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6205, allocations: 0 / 0.6728 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.6207, allocations: 227.5 kB / 0.673 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.0009909/0.6217, allocations: 169.4 kB / 0.6731 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/0.6265, allocations: 3.807 MB / 0.6769 GB, free: 96.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.6267, allocations: 0.8076 MB / 0.6777 GB, free: 95.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.6269, allocations: 86.81 kB / 0.6777 GB, free: 95.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.627, allocations: 143.4 kB / 0.6779 GB, free: 95.47 MB / 0.4981 GB Notification: Performance of SimCode: time 7.62e-07/0.627, allocations: 0 / 0.6779 GB, free: 95.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07639/0.7034, allocations: 54.17 MB / 0.7308 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.06, allocations: 0 / 0.7308 GB, free: 41.18 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.49248145596357] Failed to read output from testmodel.py, exit status != 0: 15.256809570011683 15.283506353 15.051415164 Calling exit ...