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.001974/0.001974, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002564/0.002564, allocations: 165.7 kB / 24.27 MB, free: 144 kB / 18.57 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.38/1.38, allocations: 158.6 MB / 186.1 MB, free: 2.879 MB / 170.7 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.3069/0.3069, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 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: translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.863e-05, allocations: 9.625 kB / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04312/0.04315, allocations: 33.8 MB / 386.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.06422, allocations: 13.06 MB / 399.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.06453, allocations: 11.94 kB / 400 MB, free: 4.711 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005665/0.0651, allocations: 146.8 kB / 400.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.06559, allocations: 226.3 kB / 400.3 MB, free: 4.344 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01877/0.08436, allocations: 6.54 MB / 406.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.08549, allocations: 0.6179 MB / 407.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.0859, allocations: 186.3 kB / 407.7 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.08641, allocations: 311.1 kB / 408 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.08673, allocations: 191.3 kB / 408.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.08678, allocations: 24 kB / 408.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01765/0.1044, allocations: 8.563 MB / 416.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1046, allocations: 67.67 kB / 416.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.1051, allocations: 139.6 kB / 416.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.1182, allocations: 6.579 MB / 423.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1182, allocations: 0 / 423.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1182, allocations: 0 / 423.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1182, allocations: 0 / 423.5 MB, free: 13.08 MB / 362.7 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.003386/0.1216, allocations: 1.191 MB / 424.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1216, allocations: 12.03 kB / 424.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.122, allocations: 84.64 kB / 424.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.1225, allocations: 269.7 kB / 425.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1225, allocations: 24.97 kB / 425.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.1226, allocations: 28.38 kB / 425.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.1233, allocations: 349.6 kB / 425.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1234, allocations: 3.938 kB / 425.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.1234, allocations: 12 kB / 425.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1234, allocations: 4 kB / 425.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.124, allocations: 209.8 kB / 425.7 MB, free: 10.82 MB / 362.7 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.1258, allocations: 1.126 MB / 426.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.1263, allocations: 178.5 kB / 427 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1265, allocations: 44.84 kB / 427 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2517/0.3782, allocations: 33.63 MB / 460.7 MB, free: 74.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3782, allocations: 38.31 kB / 460.7 MB, free: 74.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3782, allocations: 0 / 460.7 MB, free: 74.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001197/0.3794, allocations: 326.4 kB / 461 MB, free: 73.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.3794, allocations: 55.41 kB / 461.1 MB, free: 73.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.3797, allocations: 299.7 kB / 461.4 MB, free: 73.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3797, allocations: 25.7 kB / 461.4 MB, free: 73.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3798, allocations: 218.1 kB / 461.6 MB, free: 73.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.3799, allocations: 60.03 kB / 461.7 MB, free: 73.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.3799, allocations: 37.7 kB / 461.7 MB, free: 73.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.38, allocations: 341.2 kB / 462 MB, free: 72.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.3801, allocations: 43.98 kB / 462.1 MB, free: 72.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3802, allocations: 96.67 kB / 462.2 MB, free: 72.57 MB / 362.7 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.000891/0.3811, allocations: 300.4 kB / 462.5 MB, free: 72.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3811, allocations: 0 / 462.5 MB, free: 72.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003801/0.3815, allocations: 238.8 kB / 462.7 MB, free: 72.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3815, allocations: 6.812 kB / 462.7 MB, free: 72.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3815, allocations: 4 kB / 462.7 MB, free: 72.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.3817, allocations: 33.06 kB / 462.7 MB, free: 71.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.3819, allocations: 43.91 kB / 462.8 MB, free: 71.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007527/0.3826, allocations: 1.253 MB / 464 MB, free: 70.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.3828, allocations: 20.03 kB / 464 MB, free: 70.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3828, allocations: 15.94 kB / 464.1 MB, free: 70.55 MB / 362.7 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.0001334/0.383, allocations: 141.8 kB / 464.2 MB, free: 70.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.383, allocations: 31.81 kB / 464.2 MB, free: 70.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.3837, allocations: 0.6176 MB / 464.9 MB, free: 69.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3837, allocations: 11.98 kB / 464.9 MB, free: 69.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3837, allocations: 7.312 kB / 464.9 MB, free: 69.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3837, allocations: 0 / 464.9 MB, free: 69.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3847, allocations: 0.993 MB / 465.9 MB, free: 68.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3847, allocations: 7.938 kB / 465.9 MB, free: 68.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3849, allocations: 35.91 kB / 465.9 MB, free: 68.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.385, allocations: 32.69 kB / 465.9 MB, free: 68.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.385, allocations: 4 kB / 465.9 MB, free: 68.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005835/0.3856, allocations: 1.249 MB / 467.2 MB, free: 67.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3856, allocations: 0 / 467.2 MB, free: 67.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.3862, allocations: 0.6828 MB / 467.9 MB, free: 66.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3863, allocations: 35.73 kB / 467.9 MB, free: 66.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.3863, allocations: 8 kB / 467.9 MB, free: 66.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3865, allocations: 8.156 kB / 467.9 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3865, allocations: 19.91 kB / 467.9 MB, free: 66.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3865, allocations: 4 kB / 467.9 MB, free: 66.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3867, allocations: 203.1 kB / 468.1 MB, free: 66.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3867, allocations: 0 / 468.1 MB, free: 66.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003038/0.3897, allocations: 1.279 MB / 469.4 MB, free: 65.01 MB / 362.7 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.005935/0.3956, allocations: 1.6 MB / 471 MB, free: 63.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.3961, allocations: 295.2 kB / 471.3 MB, free: 63.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3961, allocations: 4.125 kB / 471.3 MB, free: 63.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.3963, allocations: 226.5 kB / 471.5 MB, free: 63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.3971, allocations: 120.1 kB / 471.7 MB, free: 62.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3984, allocations: 0.8731 MB / 472.5 MB, free: 62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3985, allocations: 212.1 kB / 472.7 MB, free: 61.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.3986, allocations: 69.36 kB / 472.8 MB, free: 61.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.3987, allocations: 24.5 kB / 472.8 MB, free: 61.68 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3987, allocations: 0 / 472.8 MB, free: 61.68 MB / 362.7 MB Notification: Performance of Templates: time 0.04774/0.4464, allocations: 48.62 MB / 0.5092 GB, free: 13.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.945656200055964]