Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001914/0.001914, allocations: 180.7 kB / 16.38 MB, free: 5.762 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.853/1.853, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000929/0.000929, allocations: 97.25 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.6164/0.6164, allocations: 48.78 MB / 367.9 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.7/8.863, allocations: 2.908 GB / 3.395 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/8.864, allocations: 79.22 kB / 3.395 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.289/10.15, allocations: 302.2 MB / 3.691 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/10.15, allocations: 0 / 3.691 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.059e-05/10.15, allocations: 17.97 kB / 3.691 GB, free: 64.73 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005333/10.16, allocations: 1.553 MB / 3.692 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/10.16, allocations: 9.531 kB / 3.692 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/10.16, allocations: 208.3 kB / 3.692 GB, free: 64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/10.16, allocations: 0.6808 MB / 3.693 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/10.16, allocations: 51.27 kB / 3.693 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/10.16, allocations: 76.42 kB / 3.693 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/10.16, allocations: 1.733 MB / 3.695 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/10.16, allocations: 0 / 3.695 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/10.16, allocations: 35.36 kB / 3.695 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/10.16, allocations: 35.25 kB / 3.695 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00396/10.17, allocations: 1.611 MB / 3.696 GB, free: 63.61 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.004859/10.17, allocations: 3.7 MB / 3.7 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/10.18, allocations: 1.185 MB / 3.701 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1136/10.29, allocations: 63.73 MB / 3.763 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/10.29, allocations: 38.5 kB / 3.763 GB, free: 37.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=56): time 2.655e-06/10.29, allocations: 2.625 kB / 3.763 GB, free: 37.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56): time 0.006743/10.3, allocations: 2.06 MB / 3.766 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/10.3, allocations: 63.42 kB / 3.766 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/10.3, allocations: 464.5 kB / 3.766 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/10.3, allocations: 40.39 kB / 3.766 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/10.3, allocations: 359.1 kB / 3.766 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/10.3, allocations: 197.8 kB / 3.767 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/10.3, allocations: 15.34 kB / 3.767 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000164/10.3, allocations: 368.9 kB / 3.767 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/10.3, allocations: 0.5023 MB / 3.767 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/10.3, allocations: 0.6864 MB / 3.768 GB, free: 36.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/10.3, allocations: 0.5354 MB / 3.769 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/10.3, allocations: 0 / 3.769 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003138/10.31, allocations: 1.815 MB / 3.77 GB, free: 36.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004266/10.31, allocations: 1.068 MB / 3.771 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/10.31, allocations: 3.906 kB / 3.771 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003855/10.31, allocations: 1.539 MB / 3.773 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/10.31, allocations: 61.59 kB / 3.773 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/10.31, allocations: 2.165 MB / 3.775 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/10.31, allocations: 122.2 kB / 3.775 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/10.31, allocations: 78.61 kB / 3.775 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/10.31, allocations: 3.938 kB / 3.775 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002891/10.32, allocations: 1.727 MB / 3.777 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/10.32, allocations: 7.969 kB / 3.777 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/10.32, allocations: 1.464 MB / 3.778 GB, free: 34.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/10.32, allocations: 68.48 kB / 3.779 GB, free: 34.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/10.32, allocations: 2.12 MB / 3.781 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/10.32, allocations: 115 kB / 3.781 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/10.32, allocations: 75.5 kB / 3.781 GB, free: 34.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {3 37} Notification: Performance of prepare postOptimizeDAE: time 0.000689/10.33, allocations: 335.2 kB / 3.781 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/10.33, allocations: 74.38 kB / 3.781 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006332/10.33, allocations: 7.75 MB / 3.789 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/10.33, allocations: 22.09 kB / 3.789 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/10.33, allocations: 0 / 3.789 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/10.33, allocations: 3.516 kB / 3.789 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/10.33, allocations: 3.721 MB / 3.792 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/10.33, allocations: 3.281 kB / 3.792 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/10.34, allocations: 215.4 kB / 3.793 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/10.34, allocations: 139.6 kB / 3.793 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/10.34, allocations: 20.58 kB / 3.793 GB, free: 28.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/10.34, allocations: 4.051 MB / 3.797 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/10.34, allocations: 12.03 kB / 3.797 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/10.34, allocations: 1.921 MB / 3.799 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/10.34, allocations: 242.2 kB / 3.799 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/10.34, allocations: 14.44 kB / 3.799 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/10.34, allocations: 71.48 kB / 3.799 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/10.34, allocations: 47.44 kB / 3.799 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/10.34, allocations: 22.52 kB / 3.799 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004813/10.34, allocations: 360.7 kB / 3.799 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/10.34, allocations: 0 / 3.799 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006334/10.35, allocations: 1.24 MB / 3.801 GB, free: 22.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007186/10.36, allocations: 1.304 MB / 3.802 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003838/10.36, allocations: 1.965 MB / 3.804 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/10.36, allocations: 0 / 3.804 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/10.36, allocations: 0.8766 MB / 3.805 GB, free: 21.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/10.37, allocations: 292.9 kB / 3.805 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/10.37, allocations: 2.56 MB / 3.807 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/10.37, allocations: 1.094 MB / 3.808 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007329/10.37, allocations: 210.8 kB / 3.809 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/10.37, allocations: 61.8 kB / 3.809 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/10.37, allocations: 0 / 3.809 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.3097/10.68, allocations: 56.19 MB / 3.864 GB, free: 78.54 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1)