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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001031, allocations: 176.8 kB / 17.4 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009484/0.0009489, allocations: 82.38 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4234/0.4234, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003754, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.604/7.735, allocations: 2.909 GB / 3.397 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/7.735, allocations: 80.33 kB / 3.397 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.503/9.238, allocations: 348 MB / 3.737 GB, free: 59.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.896e-06/9.238, allocations: 0 / 3.737 GB, free: 59.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.943e-05/9.238, allocations: 8.938 kB / 3.737 GB, free: 59.04 MB / 0.5105 GB 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.008614/9.247, allocations: 1.413 MB / 3.738 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/9.247, allocations: 10.16 kB / 3.738 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/9.247, allocations: 64.03 kB / 3.738 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009223/9.248, allocations: 362.9 kB / 3.739 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/9.248, allocations: 21.06 kB / 3.739 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/9.248, allocations: 32.62 kB / 3.739 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/9.249, allocations: 428.6 kB / 3.739 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/9.249, allocations: 192 / 3.739 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/9.25, allocations: 22.12 kB / 3.739 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/9.25, allocations: 6.094 kB / 3.739 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/9.25, allocations: 261.8 kB / 3.739 GB, free: 57.99 MB / 0.5105 GB 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.002331/9.253, allocations: 1.729 MB / 3.741 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/9.253, allocations: 215.5 kB / 3.741 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/9.253, allocations: 73.2 kB / 3.741 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1285/9.382, allocations: 63.74 MB / 3.804 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/9.382, allocations: 37.75 kB / 3.804 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 3.857e-06/9.382, allocations: 0 / 3.804 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.001784/9.384, allocations: 469.6 kB / 3.804 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/9.384, allocations: 60.75 kB / 3.804 GB, free: 33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/9.385, allocations: 355.5 kB / 3.805 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/9.385, allocations: 31.33 kB / 3.805 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/9.385, allocations: 206.9 kB / 3.805 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/9.385, allocations: 62.95 kB / 3.805 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/9.385, allocations: 6.781 kB / 3.805 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001566/9.385, allocations: 344.6 kB / 3.805 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/9.385, allocations: 62.86 kB / 3.805 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/9.385, allocations: 112.8 kB / 3.805 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/9.386, allocations: 175 kB / 3.805 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/9.386, allocations: 1.969 kB / 3.805 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006415/9.386, allocations: 314.3 kB / 3.806 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/9.387, allocations: 129.4 kB / 3.806 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/9.387, allocations: 0 / 3.806 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/9.387, allocations: 82.28 kB / 3.806 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/9.387, allocations: 55.25 kB / 3.806 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/9.389, allocations: 1.897 MB / 3.808 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/9.389, allocations: 38.73 kB / 3.808 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/9.389, allocations: 17.38 kB / 3.808 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/9.389, allocations: 3.719 kB / 3.808 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004857/9.39, allocations: 246 kB / 3.808 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/9.39, allocations: 192 / 3.808 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/9.39, allocations: 75.81 kB / 3.808 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/9.39, allocations: 52.2 kB / 3.808 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/9.392, allocations: 1.902 MB / 3.81 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/9.392, allocations: 39.95 kB / 3.81 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/9.392, allocations: 15.78 kB / 3.81 GB, free: 28.4 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001501/9.394, allocations: 213.2 kB / 3.81 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/9.394, allocations: 38.62 kB / 3.81 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/9.395, allocations: 0.8295 MB / 3.811 GB, free: 44.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/9.395, allocations: 11.47 kB / 3.811 GB, free: 44.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/9.395, allocations: 0 / 3.811 GB, free: 44.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/9.395, allocations: 0 / 3.811 GB, free: 44.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/9.396, allocations: 0.5535 MB / 3.812 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/9.396, allocations: 3.891 kB / 3.812 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/9.396, allocations: 38.69 kB / 3.812 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.621e-05/9.396, allocations: 23.67 kB / 3.812 GB, free: 43.83 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/9.396, allocations: 7.375 kB / 3.812 GB, free: 43.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/9.397, allocations: 1.288 MB / 3.813 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/9.397, allocations: 0 / 3.813 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/9.398, allocations: 0.8046 MB / 3.814 GB, free: 42.37 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/9.398, allocations: 127.9 kB / 3.814 GB, free: 42.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/9.398, allocations: 18.75 kB / 3.814 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/9.398, allocations: 14.39 kB / 3.814 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/9.398, allocations: 20.69 kB / 3.814 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/9.398, allocations: 3.281 kB / 3.814 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000279/9.399, allocations: 251.5 kB / 3.814 GB, free: 42.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-07/9.399, allocations: 0 / 3.814 GB, free: 42.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006703/9.405, allocations: 1.375 MB / 3.816 GB, free: 41.93 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/9.417, allocations: 1.78 MB / 3.817 GB, free: 41.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001513/9.419, allocations: 0.6069 MB / 3.818 GB, free: 41.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/9.419, allocations: 0.625 kB / 3.818 GB, free: 41.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004323/9.419, allocations: 314.2 kB / 3.818 GB, free: 41.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/9.421, allocations: 163.7 kB / 3.818 GB, free: 41.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/9.423, allocations: 1.384 MB / 3.82 GB, free: 40.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/9.423, allocations: 0.846 MB / 3.821 GB, free: 39.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003721/9.424, allocations: 144.7 kB / 3.821 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/9.424, allocations: 29.5 kB / 3.821 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/9.424, allocations: 0 / 3.821 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.05882/9.483, allocations: 40.27 MB / 3.86 GB, free: 37.51 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (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)