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.001245/0.001245, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001444/0.001444, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.34/1.34, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.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.2844/0.2844, allocations: 49.57 MB / 337.1 MB, free: 4.098 MB / 270.1 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="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.002131/0.002131, allocations: 68.45 kB / 477.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1113, allocations: 62.43 MB / 0.5269 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2305/0.3418, allocations: 37.65 MB / 0.5637 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01911/0.3609, allocations: 14.93 MB / 0.5783 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.3613, allocations: 8.406 kB / 0.5783 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.3618, allocations: 145.5 kB / 0.5784 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.3624, allocations: 221.8 kB / 0.5786 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01754/0.3799, allocations: 6.52 MB / 0.585 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.3808, allocations: 0.5891 MB / 0.5856 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.3811, allocations: 182.6 kB / 0.5857 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.3814, allocations: 225.7 kB / 0.586 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.3817, allocations: 230 kB / 0.5862 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.3817, allocations: 28.78 kB / 0.5862 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01668/0.3984, allocations: 8.929 MB / 0.5949 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.3986, allocations: 69.31 kB / 0.595 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.3991, allocations: 198.3 kB / 0.5952 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.4125, allocations: 5.155 MB / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4125, allocations: 0 / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4125, allocations: 0 / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.4125, allocations: 0 / 0.6002 GB, free: 10.3 MB / 446.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.003376/0.4159, allocations: 1.193 MB / 0.6014 GB, free: 9.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4159, allocations: 8.938 kB / 0.6014 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.778e-05/0.4159, allocations: 8.031 kB / 0.6014 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.416, allocations: 66.16 kB / 0.6015 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.4162, allocations: 55.72 kB / 0.6015 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.4167, allocations: 280.4 kB / 0.6018 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4167, allocations: 24.53 kB / 0.6018 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.4167, allocations: 29.05 kB / 0.6018 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.4173, allocations: 321.4 kB / 0.6021 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4174, allocations: 2.344 kB / 0.6021 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.4174, allocations: 14.5 kB / 0.6021 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4174, allocations: 7.094 kB / 0.6022 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.4179, allocations: 213.6 kB / 0.6024 GB, free: 8.664 MB / 446.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.001799/0.4197, allocations: 1.414 MB / 0.6037 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.4202, allocations: 174.6 kB / 0.6039 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4203, allocations: 52.84 kB / 0.604 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1148/0.5351, allocations: 33.5 MB / 0.6367 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.5352, allocations: 34.56 kB / 0.6367 GB, free: 5.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.5352, allocations: 3.938 kB / 0.6367 GB, free: 5.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001208/0.5364, allocations: 326 kB / 0.637 GB, free: 4.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.5364, allocations: 55.41 kB / 0.6371 GB, free: 4.926 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.5369, allocations: 361.6 kB / 0.6374 GB, free: 4.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.5369, allocations: 25.7 kB / 0.6374 GB, free: 4.531 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.537, allocations: 212.2 kB / 0.6376 GB, free: 4.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.5371, allocations: 59.52 kB / 0.6377 GB, free: 4.262 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.5372, allocations: 41.7 kB / 0.6377 GB, free: 4.215 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5373, allocations: 346.8 kB / 0.6381 GB, free: 3.867 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.5374, allocations: 43.84 kB / 0.6381 GB, free: 3.824 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.5376, allocations: 106.7 kB / 0.6382 GB, free: 3.695 MB / 478.1 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.0009507/0.5385, allocations: 297.2 kB / 0.6385 GB, free: 3.383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5386, allocations: 0 / 0.6385 GB, free: 3.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004729/0.539, allocations: 242 kB / 0.6387 GB, free: 3.137 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.539, allocations: 4 kB / 0.6387 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.539, allocations: 0 / 0.6387 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.5392, allocations: 28.84 kB / 0.6388 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5394, allocations: 40.53 kB / 0.6388 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.5405, allocations: 1.284 MB / 0.64 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5407, allocations: 34.91 kB / 0.6401 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.5407, allocations: 8 kB / 0.6401 GB, free: 1.625 MB / 478.1 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.0001625/0.5409, allocations: 141.7 kB / 0.6402 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.5409, allocations: 39.77 kB / 0.6403 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.5418, allocations: 0.624 MB / 0.6409 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5418, allocations: 15.92 kB / 0.6409 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5418, allocations: 0 / 0.6409 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5418, allocations: 0 / 0.6409 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5431, allocations: 1.072 MB / 0.6419 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5431, allocations: 0 / 0.6419 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.5433, allocations: 35.92 kB / 0.642 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.271e-05/0.5434, allocations: 28.88 kB / 0.642 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.5434, allocations: 8 kB / 0.642 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.5445, allocations: 1.283 MB / 0.6433 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5445, allocations: 0 / 0.6433 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.5453, allocations: 0.6703 MB / 0.6439 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.5454, allocations: 55.56 kB / 0.644 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.5454, allocations: 4 kB / 0.644 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.5456, allocations: 4 kB / 0.644 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.5456, allocations: 15.91 kB / 0.644 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5457, allocations: 8 kB / 0.644 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.5459, allocations: 255.2 kB / 0.6442 GB, free: 13.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5459, allocations: 3.938 kB / 0.6442 GB, free: 13.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003808/0.5497, allocations: 1.271 MB / 0.6455 GB, free: 11.88 MB / 494.1 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.007586/0.5573, allocations: 2.416 MB / 0.6478 GB, free: 9.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.558, allocations: 295.2 kB / 0.6481 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.558, allocations: 3.938 kB / 0.6481 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.5583, allocations: 230.6 kB / 0.6483 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.5593, allocations: 180 kB / 0.6485 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007173/0.5665, allocations: 3.818 MB / 0.6522 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.567, allocations: 0.8077 MB / 0.653 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.5672, allocations: 74.89 kB / 0.6531 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.5674, allocations: 143.4 kB / 0.6532 GB, free: 3.711 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5674, allocations: 4 kB / 0.6532 GB, free: 3.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/0.6753, allocations: 54.47 MB / 0.7064 GB, free: 13.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.29, allocations: 12.06 kB / 0.7065 GB, free: 13.08 MB / 0.545 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.26873595896177] Failed to read output from testmodel.py, exit status != 0: 15.493254328030162 15.508019784 15.092415882 Calling exit ...