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.001279/0.001279, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001498/0.001498, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.532/1.532, allocations: 207.7 MB / 235.4 MB, free: 9.77 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.3237/0.3237, allocations: 49.6 MB / 337.2 MB, free: 3.875 MB / 270.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.002185/0.002185, allocations: 71.91 kB / 477.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1318, allocations: 62.42 MB / 0.5269 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.3035/0.4354, allocations: 34.01 MB / 0.5601 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.4531, allocations: 13.04 MB / 0.5729 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.4536, allocations: 7.906 kB / 0.5729 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.4542, allocations: 144.3 kB / 0.573 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.4548, allocations: 222.3 kB / 0.5732 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01971/0.4745, allocations: 6.465 MB / 0.5796 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.4755, allocations: 0.5893 MB / 0.5801 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.4759, allocations: 180.5 kB / 0.5803 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.4763, allocations: 231.5 kB / 0.5805 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.4766, allocations: 224.2 kB / 0.5807 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.4766, allocations: 25.06 kB / 0.5808 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01945/0.4961, allocations: 8.875 MB / 0.5894 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.4962, allocations: 69.48 kB / 0.5895 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.4966, allocations: 166 kB / 0.5896 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.5108, allocations: 5.152 MB / 0.5947 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5108, allocations: 0 / 0.5947 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5108, allocations: 0 / 0.5947 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.5109, allocations: 0 / 0.5947 GB, free: 15.02 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.004078/0.5149, allocations: 1.186 MB / 0.5958 GB, free: 14.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.515, allocations: 11 kB / 0.5958 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.356e-05/0.515, allocations: 11.75 kB / 0.5959 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/0.5151, allocations: 65.94 kB / 0.5959 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.5153, allocations: 60.53 kB / 0.596 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.5158, allocations: 266.4 kB / 0.5962 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5158, allocations: 21.03 kB / 0.5963 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.5158, allocations: 33.33 kB / 0.5963 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.5165, allocations: 351.8 kB / 0.5966 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.5165, allocations: 0 / 0.5966 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.5166, allocations: 14.31 kB / 0.5966 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5166, allocations: 9.672 kB / 0.5966 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.5171, allocations: 208.5 kB / 0.5968 GB, free: 13.45 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.001835/0.5189, allocations: 1.184 MB / 0.598 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.5194, allocations: 178.6 kB / 0.5982 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.5196, allocations: 48.84 kB / 0.5982 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1223/0.6419, allocations: 33.64 MB / 0.6311 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.6419, allocations: 34.55 kB / 0.6311 GB, free: 10.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.875e-06/0.6419, allocations: 0 / 0.6311 GB, free: 10.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001437/0.6434, allocations: 326.1 kB / 0.6314 GB, free: 10.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.6434, allocations: 55.34 kB / 0.6315 GB, free: 9.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.644, allocations: 365.6 kB / 0.6318 GB, free: 9.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.644, allocations: 33.64 kB / 0.6318 GB, free: 9.559 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.6442, allocations: 200.2 kB / 0.632 GB, free: 9.359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.6443, allocations: 51.53 kB / 0.6321 GB, free: 9.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.6444, allocations: 41.7 kB / 0.6321 GB, free: 9.262 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.6446, allocations: 346.8 kB / 0.6325 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.6447, allocations: 51.84 kB / 0.6325 GB, free: 8.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.6449, allocations: 106.8 kB / 0.6326 GB, free: 8.734 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.001087/0.646, allocations: 292.2 kB / 0.6329 GB, free: 8.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.646, allocations: 0 / 0.6329 GB, free: 8.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005507/0.6465, allocations: 237.9 kB / 0.6331 GB, free: 8.188 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6466, allocations: 11.94 kB / 0.6331 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6466, allocations: 0 / 0.6331 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.6467, allocations: 32.77 kB / 0.6332 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.647, allocations: 47.91 kB / 0.6332 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.6483, allocations: 1.279 MB / 0.6344 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.6485, allocations: 23.84 kB / 0.6345 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.6486, allocations: 11.92 kB / 0.6345 GB, free: 6.668 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.0001935/0.6487, allocations: 145.7 kB / 0.6346 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.6488, allocations: 35.77 kB / 0.6347 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.6498, allocations: 0.6242 MB / 0.6353 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.6498, allocations: 12.08 kB / 0.6353 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6498, allocations: 3.938 kB / 0.6353 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.6498, allocations: 0 / 0.6353 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.6514, allocations: 1.037 MB / 0.6363 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6514, allocations: 3.938 kB / 0.6363 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.6516, allocations: 35.97 kB / 0.6363 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.6517, allocations: 20.84 kB / 0.6364 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.6517, allocations: 12.97 kB / 0.6364 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.6528, allocations: 1.283 MB / 0.6376 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6528, allocations: 4.031 kB / 0.6376 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.6538, allocations: 0.6687 MB / 0.6383 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6539, allocations: 51.62 kB / 0.6383 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.654, allocations: 12.09 kB / 0.6383 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.6542, allocations: 4 kB / 0.6383 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.6542, allocations: 15.97 kB / 0.6384 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.6543, allocations: 4 kB / 0.6384 GB, free: 2.484 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003164/0.6546, allocations: 259.2 kB / 0.6386 GB, free: 2.234 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6546, allocations: 0 / 0.6386 GB, free: 2.234 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004514/0.6591, allocations: 1.267 MB / 0.6398 GB, free: 0.9648 MB / 478.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.01015/0.6692, allocations: 2.422 MB / 0.6422 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.6701, allocations: 298.5 kB / 0.6425 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6701, allocations: 0 / 0.6425 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.6705, allocations: 230.3 kB / 0.6427 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.6716, allocations: 175.8 kB / 0.6429 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008565/0.6802, allocations: 3.813 MB / 0.6466 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.6805, allocations: 208.1 kB / 0.6468 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.6807, allocations: 82.83 kB / 0.6469 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.681, allocations: 151.2 kB / 0.647 GB, free: 9.391 MB / 494.1 MB Notification: Performance of SimCode: time 1.903e-06/0.681, allocations: 0 / 0.647 GB, free: 9.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/0.7973, allocations: 54.95 MB / 0.7007 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.51, allocations: 11.84 kB / 0.7007 GB, free: 2.281 MB / 0.5294 GB " [Timeout remaining time 643] (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: 19.883714515017346] Failed to read output from testmodel.py, exit status != 0: 16.725906086037867 16.754378934 16.237025126 Calling exit ...