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.001706/0.001706, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002145/0.002145, allocations: 209.1 kB / 24.48 MB, free: 3.938 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.1462/0.1462, allocations: 26.84 MB / 341.5 MB, free: 7.953 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.002092/0.002092, allocations: 59.91 kB / 478 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2741, allocations: 60.49 MB / 0.5259 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03627/0.3104, allocations: 34.17 MB / 0.5593 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.329, allocations: 13.05 MB / 0.572 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/0.3293, allocations: 15.88 kB / 0.572 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005257/0.3298, allocations: 138.9 kB / 0.5722 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.3303, allocations: 222.5 kB / 0.5724 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.3489, allocations: 6.489 MB / 0.5787 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009862/0.3499, allocations: 0.587 MB / 0.5793 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.3503, allocations: 182.3 kB / 0.5795 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.3506, allocations: 235.1 kB / 0.5797 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.351, allocations: 206.9 kB / 0.5799 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.351, allocations: 28 kB / 0.5799 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/0.3679, allocations: 8.548 MB / 0.5883 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.368, allocations: 75.62 kB / 0.5883 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.3683, allocations: 163.2 kB / 0.5885 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.3801, allocations: 5.152 MB / 0.5935 GB, free: 15.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3802, allocations: 0 / 0.5935 GB, free: 15.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.3e-06/0.3802, allocations: 4 kB / 0.5935 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3802, allocations: 0 / 0.5935 GB, free: 15.4 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.003336/0.3835, allocations: 1.199 MB / 0.5947 GB, free: 14.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3835, allocations: 8.031 kB / 0.5947 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.3838, allocations: 64.64 kB / 0.5948 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.3843, allocations: 262.4 kB / 0.595 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3843, allocations: 21.03 kB / 0.595 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.3844, allocations: 32.12 kB / 0.5951 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.3851, allocations: 349 kB / 0.5954 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3851, allocations: 8 kB / 0.5954 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.3851, allocations: 8 kB / 0.5954 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3851, allocations: 8 kB / 0.5954 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.3857, allocations: 209.8 kB / 0.5956 GB, free: 13.16 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.001723/0.3874, allocations: 1.118 MB / 0.5967 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.3879, allocations: 174.6 kB / 0.5969 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.3881, allocations: 48.84 kB / 0.5969 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1289/0.517, allocations: 35.12 MB / 0.6312 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.517, allocations: 30.56 kB / 0.6312 GB, free: 8.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.517, allocations: 0 / 0.6312 GB, free: 8.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001167/0.5182, allocations: 314.2 kB / 0.6315 GB, free: 8.238 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5182, allocations: 51.41 kB / 0.6316 GB, free: 8.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.5186, allocations: 304.4 kB / 0.6319 GB, free: 7.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5186, allocations: 29.7 kB / 0.6319 GB, free: 7.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.5188, allocations: 204.2 kB / 0.6321 GB, free: 7.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.5189, allocations: 59.48 kB / 0.6322 GB, free: 7.574 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.5189, allocations: 41.7 kB / 0.6322 GB, free: 7.527 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5191, allocations: 342.8 kB / 0.6325 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.5192, allocations: 43.97 kB / 0.6326 GB, free: 7.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.5194, allocations: 110.7 kB / 0.6327 GB, free: 7.008 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.0009849/0.5204, allocations: 292.5 kB / 0.633 GB, free: 6.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5204, allocations: 0 / 0.633 GB, free: 6.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004576/0.5208, allocations: 222.2 kB / 0.6332 GB, free: 6.477 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5208, allocations: 8 kB / 0.6332 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5208, allocations: 0 / 0.6332 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.521, allocations: 28.78 kB / 0.6332 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.5212, allocations: 51.91 kB / 0.6333 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.5224, allocations: 1.257 MB / 0.6345 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.5225, allocations: 23.81 kB / 0.6345 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.5226, allocations: 12 kB / 0.6345 GB, free: 4.996 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.0001883/0.5227, allocations: 141.7 kB / 0.6346 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.5228, allocations: 35.81 kB / 0.6347 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008917/0.5237, allocations: 0.6192 MB / 0.6353 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.5237, allocations: 7.922 kB / 0.6353 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.5237, allocations: 4 kB / 0.6353 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5237, allocations: 0 / 0.6353 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.5251, allocations: 0.991 MB / 0.6363 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5251, allocations: 0 / 0.6363 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.5253, allocations: 31.98 kB / 0.6363 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.5254, allocations: 24.84 kB / 0.6363 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.5254, allocations: 15.95 kB / 0.6363 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.5265, allocations: 1.246 MB / 0.6376 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5265, allocations: 0 / 0.6376 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.5273, allocations: 0.6763 MB / 0.6382 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.5274, allocations: 39.83 kB / 0.6382 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.5275, allocations: 15.94 kB / 0.6383 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.5276, allocations: 0 / 0.6383 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.5277, allocations: 19.97 kB / 0.6383 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.5277, allocations: 7.938 kB / 0.6383 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.5279, allocations: 207.1 kB / 0.6385 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5279, allocations: 0 / 0.6385 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003396/0.5313, allocations: 1.287 MB / 0.6397 GB, free: 15.44 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.005722/0.537, allocations: 1.428 MB / 0.6411 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.5378, allocations: 297.9 kB / 0.6414 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5378, allocations: 0 / 0.6414 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.5381, allocations: 226.6 kB / 0.6416 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.5389, allocations: 124.8 kB / 0.6418 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.5407, allocations: 0.9892 MB / 0.6427 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.541, allocations: 204.1 kB / 0.6429 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.541, allocations: 27.44 kB / 0.6429 GB, free: 12.06 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.541, allocations: 4 kB / 0.6429 GB, free: 12.05 MB / 494.1 MB Notification: Performance of Templates: time 0.04358/0.5846, allocations: 27.62 MB / 0.6699 GB, free: 420 kB / 0.4981 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.129372972995043] Failed to read output from testmodel.py, exit status != 0: 0.5938305470626801 0.609140153 0.22555803500000002 Calling exit ...