Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001592/0.001592, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001762/0.001762, allocations: 210 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.147/0.147, allocations: 26.82 MB / 341.5 MB, free: 8.203 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002088/0.002088, allocations: 64.09 kB / 478.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.282, allocations: 60.48 MB / 0.526 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04695/0.3289, allocations: 44.9 MB / 0.5698 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02185/0.3508, allocations: 15.59 MB / 0.585 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004956/0.3513, allocations: 7.938 kB / 0.585 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.352, allocations: 194.6 kB / 0.5852 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007174/0.3527, allocations: 254.4 kB / 0.5855 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01909/0.3718, allocations: 6.653 MB / 0.592 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.3729, allocations: 0.6609 MB / 0.5926 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.3734, allocations: 203.5 kB / 0.5928 GB, free: 420 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.3739, allocations: 259 kB / 0.5931 GB, free: 160 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.3743, allocations: 259 kB / 0.5933 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.3744, allocations: 28 kB / 0.5933 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.3946, allocations: 9.028 MB / 0.6021 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.3948, allocations: 83.52 kB / 0.6022 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.3953, allocations: 211 kB / 0.6024 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.4138, allocations: 5.261 MB / 0.6076 GB, free: 1.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4138, allocations: 0 / 0.6076 GB, free: 1.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4138, allocations: 0 / 0.6076 GB, free: 1.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.4138, allocations: 0 / 0.6076 GB, free: 1.273 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.006133/0.4199, allocations: 1.271 MB / 0.6088 GB, free: 15.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.42, allocations: 11.97 kB / 0.6088 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005479/0.4205, allocations: 72.62 kB / 0.6089 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.4214, allocations: 262.4 kB / 0.6091 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/0.4215, allocations: 25.03 kB / 0.6092 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.4216, allocations: 40.88 kB / 0.6092 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.4231, allocations: 380.4 kB / 0.6096 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.4231, allocations: 3.938 kB / 0.6096 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.4232, allocations: 12 kB / 0.6096 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.4232, allocations: 11.94 kB / 0.6096 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.4245, allocations: 258.3 kB / 0.6098 GB, free: 14.86 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.003479/0.428, allocations: 1.565 MB / 0.6114 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.4292, allocations: 201.9 kB / 0.6116 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.4294, allocations: 60.84 kB / 0.6116 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1372/0.5667, allocations: 34.96 MB / 0.6458 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.5667, allocations: 30.56 kB / 0.6458 GB, free: 9.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.5667, allocations: 0 / 0.6458 GB, free: 9.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.001477/0.5682, allocations: 397.3 kB / 0.6462 GB, free: 9.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5682, allocations: 55.41 kB / 0.6462 GB, free: 9.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.5687, allocations: 353.7 kB / 0.6466 GB, free: 9.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.5687, allocations: 33.7 kB / 0.6466 GB, free: 9.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.5689, allocations: 216.2 kB / 0.6468 GB, free: 8.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.569, allocations: 67.42 kB / 0.6469 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.5691, allocations: 45.7 kB / 0.6469 GB, free: 8.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.5692, allocations: 350.8 kB / 0.6472 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5694, allocations: 68.83 kB / 0.6473 GB, free: 8.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.5696, allocations: 118.3 kB / 0.6474 GB, free: 8.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.5699, allocations: 176.7 kB / 0.6476 GB, free: 7.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5699, allocations: 4 kB / 0.6476 GB, free: 7.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006575/0.5706, allocations: 302.7 kB / 0.6479 GB, free: 7.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5706, allocations: 4 kB / 0.6479 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5706, allocations: 0 / 0.6479 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.571, allocations: 81.84 kB / 0.648 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.5712, allocations: 51.86 kB / 0.648 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.573, allocations: 1.891 MB / 0.6498 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5733, allocations: 27.81 kB / 0.6499 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.5733, allocations: 8 kB / 0.6499 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002472/0.5735, allocations: 164.1 kB / 0.65 GB, free: 5.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001692/0.5737, allocations: 106.1 kB / 0.6501 GB, free: 5.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003044/0.574, allocations: 184 kB / 0.6503 GB, free: 4.922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.574, allocations: 0 / 0.6503 GB, free: 4.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006171/0.5746, allocations: 290.7 kB / 0.6506 GB, free: 4.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5746, allocations: 16.17 kB / 0.6506 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.5746, allocations: 0 / 0.6506 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.575, allocations: 73.67 kB / 0.6507 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.5751, allocations: 51.91 kB / 0.6507 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.5768, allocations: 1.903 MB / 0.6526 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.577, allocations: 19.89 kB / 0.6526 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.5771, allocations: 4 kB / 0.6526 GB, free: 2.41 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.0001908/0.5772, allocations: 212 kB / 0.6528 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.5773, allocations: 35.77 kB / 0.6528 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.5785, allocations: 0.8553 MB / 0.6537 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5786, allocations: 11.98 kB / 0.6537 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5786, allocations: 0 / 0.6537 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5786, allocations: 0 / 0.6537 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.5792, allocations: 0.5376 MB / 0.6542 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.5793, allocations: 0 / 0.6542 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5795, allocations: 39.98 kB / 0.6543 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.5796, allocations: 24.78 kB / 0.6543 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.5796, allocations: 11.94 kB / 0.6543 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.5808, allocations: 1.28 MB / 0.6555 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5808, allocations: 0 / 0.6555 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.5821, allocations: 0.8325 MB / 0.6564 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.5822, allocations: 51.62 kB / 0.6564 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.5822, allocations: 8 kB / 0.6564 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.5824, allocations: 12.05 kB / 0.6564 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.5825, allocations: 15.97 kB / 0.6564 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.5825, allocations: 11.94 kB / 0.6564 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003068/0.5828, allocations: 251.2 kB / 0.6567 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5828, allocations: 0 / 0.6567 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004099/0.5869, allocations: 1.368 MB / 0.658 GB, free: 12.67 MB / 0.4981 GB 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.006821/0.5937, allocations: 1.437 MB / 0.6594 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.5952, allocations: 0.5912 MB / 0.66 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5952, allocations: 128 / 0.66 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.5956, allocations: 275.2 kB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5968, allocations: 169.2 kB / 0.6604 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.5991, allocations: 1.216 MB / 0.6616 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.5996, allocations: 0.844 MB / 0.6624 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5997, allocations: 31.44 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.5997, allocations: 0 / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.04744/0.6472, allocations: 29.53 MB / 0.6913 GB, free: 10.46 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.488340463954955] Failed to read output from testmodel.py, exit status != 0: 0.65712894895114 0.673475868 0.256107763 Calling exit ...