Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.001334/0.001334, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00152/0.00152, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.4/1.4, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.2877/0.2877, allocations: 49.6 MB / 337.2 MB, free: 3.883 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: translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [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.002234/0.002234, allocations: 67.91 kB / 477.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1071, allocations: 62.44 MB / 0.5274 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2281/0.3352, allocations: 40.43 MB / 0.5669 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.3543, allocations: 13.65 MB / 0.5802 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.3547, allocations: 8.625 kB / 0.5802 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.3553, allocations: 190.9 kB / 0.5804 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.3559, allocations: 248.5 kB / 0.5806 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01779/0.3736, allocations: 6.568 MB / 0.587 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009225/0.3746, allocations: 0.6694 MB / 0.5877 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.3749, allocations: 198 kB / 0.5879 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.3753, allocations: 261.1 kB / 0.5881 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.3756, allocations: 239 kB / 0.5884 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.3757, allocations: 27.94 kB / 0.5884 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01595/0.3916, allocations: 8.621 MB / 0.5968 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3917, allocations: 77.44 kB / 0.5969 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.3921, allocations: 179.3 kB / 0.5971 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.4027, allocations: 5.244 MB / 0.6022 GB, free: 8.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4027, allocations: 4 kB / 0.6022 GB, free: 8.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.4027, allocations: 0 / 0.6022 GB, free: 8.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.4027, allocations: 0 / 0.6022 GB, free: 8.312 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003373/0.4061, allocations: 1.253 MB / 0.6034 GB, free: 7.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4062, allocations: 8.031 kB / 0.6034 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.4064, allocations: 64.62 kB / 0.6035 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.407, allocations: 278.3 kB / 0.6037 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.407, allocations: 25.78 kB / 0.6038 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.4071, allocations: 32.38 kB / 0.6038 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.4079, allocations: 410 kB / 0.6042 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4079, allocations: 1.547 kB / 0.6042 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.4079, allocations: 16 kB / 0.6042 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.408, allocations: 8 kB / 0.6042 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.4086, allocations: 254.4 kB / 0.6045 GB, free: 5.898 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.001672/0.4103, allocations: 1.199 MB / 0.6056 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.4109, allocations: 212.8 kB / 0.6058 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4111, allocations: 60.84 kB / 0.6059 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1201/0.5311, allocations: 33.64 MB / 0.6387 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.5312, allocations: 34.5 kB / 0.6388 GB, free: 2.641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/0.5312, allocations: 0 / 0.6388 GB, free: 2.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001344/0.5325, allocations: 386.1 kB / 0.6391 GB, free: 2.254 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.5326, allocations: 51.41 kB / 0.6392 GB, free: 2.191 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.5329, allocations: 288.6 kB / 0.6395 GB, free: 1.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.533, allocations: 33.7 kB / 0.6395 GB, free: 1.859 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.5331, allocations: 228.3 kB / 0.6397 GB, free: 1.629 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.5332, allocations: 63.47 kB / 0.6398 GB, free: 1.566 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.5333, allocations: 53.59 kB / 0.6398 GB, free: 1.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5334, allocations: 338.8 kB / 0.6402 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.5336, allocations: 68.77 kB / 0.6402 GB, free: 1.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.5338, allocations: 110 kB / 0.6403 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.5341, allocations: 177.8 kB / 0.6405 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5341, allocations: 0 / 0.6405 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005967/0.5347, allocations: 290.7 kB / 0.6408 GB, free: 488 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5347, allocations: 12.19 kB / 0.6408 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5347, allocations: 0 / 0.6408 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.5351, allocations: 81.59 kB / 0.6409 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.5353, allocations: 43.98 kB / 0.6409 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.537, allocations: 1.872 MB / 0.6427 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.5371, allocations: 23.41 kB / 0.6427 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.5371, allocations: 12 kB / 0.6428 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002305/0.5374, allocations: 164.1 kB / 0.6429 GB, free: 14.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001659/0.5375, allocations: 110.4 kB / 0.643 GB, free: 14.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002906/0.5378, allocations: 174.2 kB / 0.6432 GB, free: 13.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.5378, allocations: 0 / 0.6432 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005797/0.5384, allocations: 294.7 kB / 0.6435 GB, free: 13.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.5384, allocations: 11.94 kB / 0.6435 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.5384, allocations: 192 / 0.6435 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.5387, allocations: 81.66 kB / 0.6436 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.5389, allocations: 39.98 kB / 0.6436 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.5405, allocations: 1.876 MB / 0.6454 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.5406, allocations: 24 kB / 0.6455 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5407, allocations: 8 kB / 0.6455 GB, free: 11.35 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.5408, allocations: 196.1 kB / 0.6456 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.5409, allocations: 31.81 kB / 0.6457 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.542, allocations: 0.8425 MB / 0.6465 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.542, allocations: 15.92 kB / 0.6465 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.542, allocations: 3.938 kB / 0.6465 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.542, allocations: 4 kB / 0.6465 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.5426, allocations: 463.2 kB / 0.647 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5426, allocations: 0 / 0.647 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.5428, allocations: 35.98 kB / 0.647 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.089e-05/0.5429, allocations: 24.84 kB / 0.647 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.5429, allocations: 4 kB / 0.647 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.544, allocations: 1.261 MB / 0.6483 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.544, allocations: 0 / 0.6483 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.545, allocations: 0.825 MB / 0.6491 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.5451, allocations: 47.59 kB / 0.6491 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.5451, allocations: 4 kB / 0.6491 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.5453, allocations: 11.92 kB / 0.6491 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.5453, allocations: 19.97 kB / 0.6491 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.5453, allocations: 4.125 kB / 0.6491 GB, free: 7.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.5455, allocations: 207.1 kB / 0.6493 GB, free: 7.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5455, allocations: 0 / 0.6493 GB, free: 7.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003475/0.549, allocations: 1.372 MB / 0.6507 GB, free: 5.828 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005476/0.5545, allocations: 1.428 MB / 0.6521 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.5558, allocations: 0.6031 MB / 0.6527 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5558, allocations: 0 / 0.6527 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.5562, allocations: 267.2 kB / 0.6529 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.557, allocations: 130.4 kB / 0.653 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.559, allocations: 1.191 MB / 0.6542 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5592, allocations: 241.4 kB / 0.6544 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.5593, allocations: 27.44 kB / 0.6545 GB, free: 1.848 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5593, allocations: 0 / 0.6545 GB, free: 1.848 MB / 494.1 MB Notification: Performance of Templates: time 0.04252/0.6018, allocations: 29.03 MB / 0.6828 GB, free: 4.77 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.095881841145456] Failed to read output from testmodel.py, exit status != 0: 0.6107053603045642 0.624911258 0.218959853 Calling exit ...