Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001334/0.001334, 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.001438/0.001438, 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.423/1.423, allocations: 230.6 MB / 258.2 MB, free: 8.234 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.162/0.162, allocations: 26.83 MB / 341.5 MB, free: 8.223 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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") [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.003362/0.003362, allocations: 63.91 kB / 478.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3058, allocations: 60.48 MB / 0.526 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04111/0.3469, allocations: 37.8 MB / 0.5629 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.368, allocations: 14.93 MB / 0.5775 GB, free: 156 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.3685, allocations: 11.94 kB / 0.5775 GB, free: 144 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.3691, allocations: 138.9 kB / 0.5776 GB, free: 4 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006798/0.3698, allocations: 218.6 kB / 0.5778 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01992/0.3897, allocations: 6.548 MB / 0.5842 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.3907, allocations: 0.5909 MB / 0.5848 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.3912, allocations: 174.4 kB / 0.5849 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005058/0.3917, allocations: 235.1 kB / 0.5852 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.3921, allocations: 230.9 kB / 0.5854 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.3922, allocations: 27.94 kB / 0.5854 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01831/0.4105, allocations: 8.943 MB / 0.5942 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.4106, allocations: 63.7 kB / 0.5942 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.411, allocations: 202.9 kB / 0.5944 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.4232, allocations: 5.156 MB / 0.5994 GB, free: 9.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4232, allocations: 4 kB / 0.5994 GB, free: 9.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4232, allocations: 0 / 0.5994 GB, free: 9.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.4232, allocations: 0 / 0.5994 GB, free: 9.605 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.003383/0.4266, allocations: 1.199 MB / 0.6006 GB, free: 8.371 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4267, allocations: 8.031 kB / 0.6006 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.4269, allocations: 64.64 kB / 0.6007 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.4275, allocations: 270.3 kB / 0.6009 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4275, allocations: 21.03 kB / 0.601 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.4275, allocations: 36.12 kB / 0.601 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.4282, allocations: 315.3 kB / 0.6013 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.4282, allocations: 0 / 0.6013 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.4283, allocations: 16 kB / 0.6013 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4283, allocations: 4 kB / 0.6013 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.4288, allocations: 217.7 kB / 0.6015 GB, free: 7.395 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.001979/0.4308, allocations: 1.418 MB / 0.6029 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.4313, allocations: 170.2 kB / 0.6031 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4314, allocations: 52.83 kB / 0.6031 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.121/0.5524, allocations: 34.97 MB / 0.6373 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.5524, allocations: 34.56 kB / 0.6373 GB, free: 2.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.5524, allocations: 0 / 0.6373 GB, free: 2.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001217/0.5537, allocations: 314.1 kB / 0.6376 GB, free: 2.254 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5537, allocations: 63.34 kB / 0.6377 GB, free: 2.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.5542, allocations: 365.6 kB / 0.638 GB, free: 1.809 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.5542, allocations: 29.7 kB / 0.638 GB, free: 1.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.5544, allocations: 200.2 kB / 0.6382 GB, free: 1.574 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.5544, allocations: 59.52 kB / 0.6383 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.5545, allocations: 37.67 kB / 0.6383 GB, free: 1.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5547, allocations: 346.8 kB / 0.6387 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.5548, allocations: 51.97 kB / 0.6387 GB, free: 1.074 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.555, allocations: 98.7 kB / 0.6388 GB, free: 0.9531 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.0009707/0.5559, allocations: 300.9 kB / 0.6391 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5559, allocations: 0 / 0.6391 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004695/0.5564, allocations: 234 kB / 0.6393 GB, free: 408 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5564, allocations: 12.16 kB / 0.6393 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5564, allocations: 4 kB / 0.6393 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.5566, allocations: 28.84 kB / 0.6394 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.5568, allocations: 39.92 kB / 0.6394 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.558, allocations: 1.275 MB / 0.6406 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.5582, allocations: 35.77 kB / 0.6407 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.5582, allocations: 8 kB / 0.6407 GB, free: 14.89 MB / 494.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.0001785/0.5583, allocations: 153.8 kB / 0.6408 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.5584, allocations: 35.81 kB / 0.6409 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008723/0.5593, allocations: 0.6278 MB / 0.6415 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5593, allocations: 7.984 kB / 0.6415 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5593, allocations: 3.938 kB / 0.6415 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.5593, allocations: 0 / 0.6415 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.5608, allocations: 1.068 MB / 0.6425 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5608, allocations: 0 / 0.6425 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.561, allocations: 35.97 kB / 0.6426 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.5611, allocations: 20.84 kB / 0.6426 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5611, allocations: 8 kB / 0.6426 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.5622, allocations: 1.273 MB / 0.6438 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5622, allocations: 3.938 kB / 0.6438 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/0.5631, allocations: 0.6802 MB / 0.6445 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.5632, allocations: 51.62 kB / 0.6446 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.5632, allocations: 11.94 kB / 0.6446 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.5634, allocations: 8.047 kB / 0.6446 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.5635, allocations: 11.98 kB / 0.6446 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5635, allocations: 4 kB / 0.6446 GB, free: 10.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.5638, allocations: 263.2 kB / 0.6448 GB, free: 10.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5638, allocations: 0 / 0.6448 GB, free: 10.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003498/0.5673, allocations: 1.271 MB / 0.6461 GB, free: 9.145 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.006042/0.5733, allocations: 1.433 MB / 0.6475 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007021/0.574, allocations: 298.5 kB / 0.6478 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.574, allocations: 0 / 0.6478 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.5743, allocations: 222.6 kB / 0.648 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009963/0.5753, allocations: 173.5 kB / 0.6481 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.5771, allocations: 0.9854 MB / 0.6491 GB, free: 5.977 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.5775, allocations: 0.8116 MB / 0.6499 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.5776, allocations: 27.44 kB / 0.6499 GB, free: 5.102 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5776, allocations: 4 kB / 0.6499 GB, free: 5.098 MB / 494.1 MB Notification: Performance of Templates: time 0.04263/0.6202, allocations: 27.96 MB / 0.6772 GB, free: 9.129 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.4089769939892] Failed to read output from testmodel.py, exit status != 0: 0.6318937600590289 0.64493685 0.218384023 Calling exit ...