Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.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.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001232, allocations: 180.8 kB / 8.344 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.239/2.239, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001274, allocations: 93.48 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6664/0.6664, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.118e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 60.26 MB / 485.5 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.891/9.087, allocations: 2.88 GB / 3.354 GB, free: 119.2 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/9.087, allocations: 75.86 kB / 3.354 GB, free: 119.2 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8788/9.966, allocations: 208.1 MB / 3.557 GB, free: 82.36 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.144e-06/9.966, allocations: 0 / 3.557 GB, free: 82.36 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.819e-05/9.966, allocations: 13.97 kB / 3.557 GB, free: 82.35 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004555/9.971, allocations: 0.9996 MB / 3.558 GB, free: 81.72 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/9.971, allocations: 7.781 kB / 3.558 GB, free: 81.72 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/9.971, allocations: 52.3 kB / 3.558 GB, free: 81.7 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/9.971, allocations: 313.1 kB / 3.559 GB, free: 81.44 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/9.971, allocations: 7.406 kB / 3.559 GB, free: 81.44 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/9.971, allocations: 16.38 kB / 3.559 GB, free: 81.44 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002861/9.972, allocations: 166.3 kB / 3.559 GB, free: 81.38 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/9.972, allocations: 285.8 kB / 3.559 GB, free: 81.2 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/9.972, allocations: 3.969 kB / 3.559 GB, free: 81.2 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/9.972, allocations: 0 / 3.559 GB, free: 81.2 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/9.972, allocations: 3.969 kB / 3.559 GB, free: 81.2 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.001446/9.974, allocations: 1.243 MB / 3.56 GB, free: 80.24 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/9.974, allocations: 182.2 kB / 3.56 GB, free: 80.14 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/9.974, allocations: 88.17 kB / 3.561 GB, free: 80.1 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05769/10.03, allocations: 31.97 MB / 3.592 GB, free: 59.88 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/10.03, allocations: 38.52 kB / 3.592 GB, free: 59.83 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=23): time 3.356e-06/10.03, allocations: 4 kB / 3.592 GB, free: 59.82 MB / 0.5108 GB Notification: Performance of matching and sorting (n=27): time 0.002296/10.03, allocations: 0.7856 MB / 3.593 GB, free: 59.34 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/10.03, allocations: 55.53 kB / 3.593 GB, free: 59.28 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/10.03, allocations: 213.1 kB / 3.593 GB, free: 59.15 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/10.03, allocations: 25.7 kB / 3.593 GB, free: 59.12 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/10.03, allocations: 198.4 kB / 3.593 GB, free: 58.96 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/10.03, allocations: 87.77 kB / 3.593 GB, free: 58.89 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/10.03, allocations: 0 / 3.593 GB, free: 58.89 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/10.03, allocations: 343.3 kB / 3.593 GB, free: 58.57 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/10.04, allocations: 81.78 kB / 3.594 GB, free: 58.53 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/10.04, allocations: 94.3 kB / 3.594 GB, free: 58.48 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/10.04, allocations: 96.67 kB / 3.594 GB, free: 58.43 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/10.04, allocations: 0 / 3.594 GB, free: 58.43 MB / 0.5108 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00101/10.04, allocations: 427.4 kB / 3.594 GB, free: 58.26 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/10.04, allocations: 185.8 kB / 3.594 GB, free: 58.07 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/10.04, allocations: 4 kB / 3.594 GB, free: 58.06 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/10.04, allocations: 244.2 kB / 3.595 GB, free: 58.01 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/10.04, allocations: 45.86 kB / 3.595 GB, free: 58 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/10.04, allocations: 0.8294 MB / 3.595 GB, free: 57.36 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/10.04, allocations: 18.92 kB / 3.595 GB, free: 57.36 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/10.04, allocations: 8.031 kB / 3.595 GB, free: 57.35 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/10.04, allocations: 3.969 kB / 3.595 GB, free: 57.35 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008564/10.04, allocations: 346.5 kB / 3.596 GB, free: 57.24 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/10.04, allocations: 0 / 3.596 GB, free: 57.24 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008491/10.04, allocations: 240.2 kB / 3.596 GB, free: 57.18 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/10.04, allocations: 44.05 kB / 3.596 GB, free: 57.17 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007486/10.04, allocations: 0.7932 MB / 3.597 GB, free: 56.54 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/10.04, allocations: 26.36 kB / 3.597 GB, free: 56.54 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/10.04, allocations: 11.81 kB / 3.597 GB, free: 56.54 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Accumulator1.Vl:DUMMY_DER(fixed = false ) "Volume occupied by water" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.000163/10.04, allocations: 110.2 kB / 3.597 GB, free: 56.42 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/10.04, allocations: 35.3 kB / 3.597 GB, free: 56.4 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/10.04, allocations: 0.4907 MB / 3.597 GB, free: 56.16 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/10.04, allocations: 11.19 kB / 3.597 GB, free: 56.16 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/10.04, allocations: 0 / 3.597 GB, free: 56.16 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/10.04, allocations: 4 kB / 3.597 GB, free: 56.16 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/10.04, allocations: 0.918 MB / 3.598 GB, free: 55.63 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/10.04, allocations: 3.938 kB / 3.598 GB, free: 55.62 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/10.04, allocations: 72.55 kB / 3.598 GB, free: 55.62 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/10.04, allocations: 56.62 kB / 3.598 GB, free: 55.6 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/10.04, allocations: 0 / 3.598 GB, free: 55.6 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008777/10.05, allocations: 1.297 MB / 3.6 GB, free: 54.32 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/10.05, allocations: 0 / 3.6 GB, free: 54.32 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007774/10.05, allocations: 0.6054 MB / 3.6 GB, free: 53.98 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/10.05, allocations: 128 kB / 3.6 GB, free: 53.85 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/10.05, allocations: 4 kB / 3.6 GB, free: 53.85 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/10.05, allocations: 26.3 kB / 3.6 GB, free: 53.84 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/10.05, allocations: 34 kB / 3.601 GB, free: 53.83 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/10.05, allocations: 3.906 kB / 3.601 GB, free: 53.83 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.00013/10.05, allocations: 168.9 kB / 3.601 GB, free: 53.72 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.31e-07/10.05, allocations: 0 / 3.601 GB, free: 53.72 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.004683/10.05, allocations: 0.8681 MB / 3.602 GB, free: 53.57 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.rhog,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.007006/10.06, allocations: 1.264 MB / 3.603 GB, free: 53.23 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001683/10.06, allocations: 0.5092 MB / 3.603 GB, free: 53.06 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/10.06, allocations: 0 / 3.603 GB, free: 53.06 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/10.06, allocations: 282.8 kB / 3.604 GB, free: 52.88 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/10.06, allocations: 95.45 kB / 3.604 GB, free: 52.86 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/10.06, allocations: 0.6987 MB / 3.604 GB, free: 52.43 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/10.06, allocations: 0.8077 MB / 3.605 GB, free: 51.73 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0002107/10.06, allocations: 50.5 kB / 3.605 GB, free: 51.71 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/10.06, allocations: 25.12 kB / 3.605 GB, free: 51.7 MB / 0.5108 GB Notification: Performance of SimCode: time 7.11e-07/10.06, allocations: 4 kB / 3.605 GB, free: 51.7 MB / 0.5108 GB Notification: Performance of Templates: time 0.03581/10.1, allocations: 24.48 MB / 3.629 GB, free: 49.12 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)