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.0022/0.002201, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009877/0.0009876, allocations: 105.4 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5709/0.5709, allocations: 48.77 MB / 367.9 MB, free: 47.45 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.0004148/0.0004152, allocations: 15.94 kB / 438.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 60.24 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.84/8.002, allocations: 2.908 GB / 3.395 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/8.003, allocations: 78.7 kB / 3.396 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.757/9.76, allocations: 347.9 MB / 3.735 GB, free: 58.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.426e-06/9.76, allocations: 0 / 3.735 GB, free: 58.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.305e-05/9.76, allocations: 12.62 kB / 3.735 GB, free: 58.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.00938/9.769, allocations: 1.422 MB / 3.737 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/9.769, allocations: 9.438 kB / 3.737 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/9.769, allocations: 62.05 kB / 3.737 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/9.77, allocations: 350.3 kB / 3.737 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/9.77, allocations: 23.62 kB / 3.737 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/9.77, allocations: 31.66 kB / 3.737 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007888/9.771, allocations: 425.6 kB / 3.738 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/9.771, allocations: 3.906 kB / 3.738 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/9.771, allocations: 14.28 kB / 3.738 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/9.771, allocations: 9.281 kB / 3.738 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/9.772, allocations: 256.1 kB / 3.738 GB, free: 57.02 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.001789/9.773, allocations: 1.739 MB / 3.74 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/9.774, allocations: 210.6 kB / 3.74 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1355/9.91, allocations: 63.73 MB / 3.802 GB, free: 32.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/9.91, allocations: 35.5 kB / 3.802 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 3.346e-06/9.91, allocations: 4 kB / 3.802 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.001762/9.912, allocations: 476.5 kB / 3.803 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/9.912, allocations: 51.41 kB / 3.803 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/9.912, allocations: 314 kB / 3.803 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/9.912, allocations: 33.58 kB / 3.803 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/9.912, allocations: 209.1 kB / 3.803 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/9.913, allocations: 69.03 kB / 3.803 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/9.913, allocations: 3.875 kB / 3.803 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001622/9.913, allocations: 342.8 kB / 3.803 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/9.913, allocations: 60.55 kB / 3.804 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/9.913, allocations: 112.2 kB / 3.804 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/9.913, allocations: 76.16 kB / 3.804 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/9.913, allocations: 4 kB / 3.804 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006909/9.914, allocations: 307.3 kB / 3.804 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003231/9.914, allocations: 0.6124 MB / 3.805 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/9.914, allocations: 0 / 3.805 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/9.915, allocations: 83.58 kB / 3.805 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/9.915, allocations: 51.83 kB / 3.805 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/9.917, allocations: 1.903 MB / 3.807 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/9.917, allocations: 40.14 kB / 3.807 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/9.917, allocations: 11.22 kB / 3.807 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/9.917, allocations: 3.969 kB / 3.807 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005569/9.918, allocations: 250.8 kB / 3.807 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/9.918, allocations: 1.781 kB / 3.807 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/9.918, allocations: 77.58 kB / 3.807 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/9.918, allocations: 58.48 kB / 3.807 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/9.921, allocations: 1.891 MB / 3.809 GB, free: 43.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/9.921, allocations: 43.83 kB / 3.809 GB, free: 43.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/9.921, allocations: 16.41 kB / 3.809 GB, free: 43.13 MB / 0.5417 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.0003108/9.922, allocations: 218.2 kB / 3.809 GB, free: 42.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/9.922, allocations: 32.44 kB / 3.809 GB, free: 42.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/9.923, allocations: 0.8303 MB / 3.81 GB, free: 42.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/9.923, allocations: 14.67 kB / 3.81 GB, free: 42.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/9.923, allocations: 0 / 3.81 GB, free: 42.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/9.923, allocations: 4.875 kB / 3.81 GB, free: 42.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/9.924, allocations: 0.5523 MB / 3.811 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/9.924, allocations: 0 / 3.811 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/9.924, allocations: 43.09 kB / 3.811 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/9.924, allocations: 28.91 kB / 3.811 GB, free: 42.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/9.924, allocations: 0 / 3.811 GB, free: 42.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/9.925, allocations: 1.303 MB / 3.812 GB, free: 41.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/9.925, allocations: 256 / 3.812 GB, free: 41.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/9.926, allocations: 0.8007 MB / 3.813 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/9.926, allocations: 130.6 kB / 3.813 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/9.927, allocations: 6.688 kB / 3.813 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/9.927, allocations: 28.75 kB / 3.813 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/9.927, allocations: 9.469 kB / 3.813 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/9.927, allocations: 13.28 kB / 3.813 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002996/9.927, allocations: 251.1 kB / 3.813 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.51e-07/9.927, allocations: 0 / 3.813 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008084/9.935, allocations: 1.362 MB / 3.814 GB, free: 40.67 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.01436/9.95, allocations: 1.783 MB / 3.816 GB, free: 40.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002249/9.952, allocations: 0.6068 MB / 3.817 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/9.952, allocations: 0 / 3.817 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005908/9.953, allocations: 310.8 kB / 3.817 GB, free: 39.92 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/9.954, allocations: 167.3 kB / 3.817 GB, free: 39.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/9.957, allocations: 1.393 MB / 3.819 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/9.958, allocations: 0.8567 MB / 3.819 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004616/9.959, allocations: 146.8 kB / 3.82 GB, free: 38.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/9.959, allocations: 29.94 kB / 3.82 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of SimCode: time 1.853e-06/9.959, allocations: 0 / 3.82 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.06223/10.02, allocations: 37.77 MB / 3.856 GB, free: 36.4 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)