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.001147/0.001148, allocations: 176.4 kB / 17.4 MB, free: 4.297 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.985/1.985, allocations: 205.4 MB / 223.6 MB, free: 8.93 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.0008593/0.0008592, allocations: 84.98 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6003/0.6003, allocations: 48.79 MB / 369 MB, free: 47.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004567, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.163, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.725/7.888, allocations: 2.908 GB / 3.397 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/7.888, allocations: 85.62 kB / 3.397 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9391/8.827, allocations: 302.3 MB / 3.692 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/8.827, allocations: 0 / 3.692 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001226/8.827, allocations: 23.94 kB / 3.692 GB, free: 16.5 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.008728/8.836, allocations: 1.536 MB / 3.694 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/8.836, allocations: 12.03 kB / 3.694 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/8.838, allocations: 203.8 kB / 3.694 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/8.841, allocations: 0.6981 MB / 3.695 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/8.841, allocations: 54.38 kB / 3.695 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/8.841, allocations: 80.28 kB / 3.695 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/8.847, allocations: 1.741 MB / 3.696 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/8.848, allocations: 3.938 kB / 3.696 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/8.848, allocations: 28 kB / 3.696 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/8.848, allocations: 38 kB / 3.696 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/8.854, allocations: 1.604 MB / 3.698 GB, free: 10.39 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.006436/8.86, allocations: 3.711 MB / 3.702 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004519/8.865, allocations: 1.156 MB / 3.703 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/8.865, allocations: 294.4 kB / 3.703 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4219/9.287, allocations: 63.71 MB / 3.765 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/9.287, allocations: 41.34 kB / 3.765 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=56): time 2.736e-06/9.287, allocations: 0 / 3.765 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56): time 0.005894/9.293, allocations: 2.065 MB / 3.767 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/9.293, allocations: 56.5 kB / 3.767 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/9.294, allocations: 0.5144 MB / 3.768 GB, free: 38.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/9.294, allocations: 43.67 kB / 3.768 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/9.294, allocations: 356.2 kB / 3.768 GB, free: 38.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/9.294, allocations: 204.9 kB / 3.768 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/9.295, allocations: 10.75 kB / 3.768 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001517/9.295, allocations: 374.3 kB / 3.769 GB, free: 38.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/9.295, allocations: 0.4919 MB / 3.769 GB, free: 38.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/9.296, allocations: 0.6928 MB / 3.77 GB, free: 38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/9.298, allocations: 1.083 MB / 3.771 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/9.298, allocations: 3.938 kB / 3.771 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003205/9.301, allocations: 1.83 MB / 3.773 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/9.301, allocations: 170.4 kB / 3.773 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/9.301, allocations: 11.08 kB / 3.773 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004034/9.305, allocations: 1.578 MB / 3.775 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/9.306, allocations: 66.58 kB / 3.775 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/9.308, allocations: 2.168 MB / 3.777 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/9.309, allocations: 116.2 kB / 3.777 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/9.309, allocations: 81.92 kB / 3.777 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/9.309, allocations: 5.531 kB / 3.777 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002954/9.312, allocations: 1.724 MB / 3.779 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/9.312, allocations: 3.812 kB / 3.779 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/9.316, allocations: 1.46 MB / 3.78 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/9.316, allocations: 75.98 kB / 3.78 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/9.319, allocations: 2.121 MB / 3.782 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/9.32, allocations: 121.3 kB / 3.782 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/9.321, allocations: 71.55 kB / 3.782 GB, free: 36.34 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.00064/9.321, allocations: 326.8 kB / 3.783 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/9.321, allocations: 74.77 kB / 3.783 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/9.329, allocations: 7.761 MB / 3.79 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/9.329, allocations: 18.33 kB / 3.79 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/9.329, allocations: 0 / 3.79 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/9.329, allocations: 7.266 kB / 3.79 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/9.333, allocations: 3.718 MB / 3.794 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/9.333, allocations: 6.531 kB / 3.794 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/9.335, allocations: 217.5 kB / 3.794 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/9.335, allocations: 140.5 kB / 3.794 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/9.336, allocations: 25.86 kB / 3.794 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/9.339, allocations: 4.025 MB / 3.798 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/9.339, allocations: 0 / 3.798 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/9.341, allocations: 1.933 MB / 3.8 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/9.342, allocations: 236.6 kB / 3.8 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/9.342, allocations: 14.67 kB / 3.8 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/9.343, allocations: 71.66 kB / 3.8 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/9.343, allocations: 45 kB / 3.801 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/9.343, allocations: 24.77 kB / 3.801 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004806/9.343, allocations: 362.1 kB / 3.801 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/9.343, allocations: 0 / 3.801 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005591/9.349, allocations: 1.24 MB / 3.802 GB, free: 30.73 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.006096/9.355, allocations: 1.318 MB / 3.803 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003895/9.359, allocations: 1.958 MB / 3.805 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/9.359, allocations: 7.141 kB / 3.805 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/9.361, allocations: 0.8848 MB / 3.806 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/9.363, allocations: 300.1 kB / 3.806 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/9.367, allocations: 2.555 MB / 3.809 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/9.367, allocations: 1.075 MB / 3.81 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007622/9.368, allocations: 211.4 kB / 3.81 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/9.368, allocations: 60.78 kB / 3.81 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/9.368, allocations: 1.594 kB / 3.81 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.2777/9.646, allocations: 58.08 MB / 3.867 GB, free: 24.7 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)