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.001526/0.001527, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.842/1.842, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009339/0.000934, allocations: 90.64 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3434/0.3434, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.313e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 60.25 MB / 492.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.522/9.692, allocations: 2.908 GB / 3.389 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/9.692, allocations: 86.94 kB / 3.389 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.198/10.89, allocations: 301.1 MB / 3.683 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/10.89, allocations: 2.719 kB / 3.683 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.566e-05/10.89, allocations: 22.06 kB / 3.683 GB, free: 74.42 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.004705/10.89, allocations: 1.443 MB / 3.685 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/10.89, allocations: 10.97 kB / 3.685 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/10.9, allocations: 205.5 kB / 3.685 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/10.9, allocations: 0.679 MB / 3.686 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/10.9, allocations: 58.75 kB / 3.686 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/10.9, allocations: 77.25 kB / 3.686 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/10.9, allocations: 1.754 MB / 3.688 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/10.9, allocations: 0 / 3.688 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/10.9, allocations: 28.72 kB / 3.688 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/10.9, allocations: 31.25 kB / 3.688 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/10.9, allocations: 1.611 MB / 3.689 GB, free: 73.34 MB / 0.5105 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.004147/10.91, allocations: 3.707 MB / 3.693 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/10.91, allocations: 1.206 MB / 3.694 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/10.91, allocations: 284.5 kB / 3.694 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1046/11.02, allocations: 63.96 MB / 3.757 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/11.02, allocations: 42.05 kB / 3.757 GB, free: 30.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 2.364e-06/11.02, allocations: 0 / 3.757 GB, free: 30.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.005468/11.02, allocations: 1.672 MB / 3.758 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/11.02, allocations: 63.62 kB / 3.759 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/11.02, allocations: 457.5 kB / 3.759 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/11.02, allocations: 37.67 kB / 3.759 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/11.02, allocations: 362.4 kB / 3.759 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/11.02, allocations: 200.1 kB / 3.76 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/11.02, allocations: 15.84 kB / 3.76 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001099/11.02, allocations: 368.2 kB / 3.76 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/11.02, allocations: 0.496 MB / 3.76 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/11.03, allocations: 0.6668 MB / 3.761 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/11.03, allocations: 0.5125 MB / 3.762 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/11.03, allocations: 0 / 3.762 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003033/11.03, allocations: 1.787 MB / 3.763 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/11.03, allocations: 1.058 MB / 3.764 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/11.03, allocations: 3.812 kB / 3.764 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003655/11.03, allocations: 1.463 MB / 3.766 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/11.03, allocations: 68.11 kB / 3.766 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/11.04, allocations: 2.156 MB / 3.768 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/11.04, allocations: 124.8 kB / 3.768 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/11.04, allocations: 75.78 kB / 3.768 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/11.04, allocations: 3.594 kB / 3.768 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002709/11.04, allocations: 1.692 MB / 3.77 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/11.04, allocations: 3.969 kB / 3.77 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/11.04, allocations: 1.395 MB / 3.771 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/11.04, allocations: 71.83 kB / 3.771 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/11.05, allocations: 2.093 MB / 3.773 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/11.05, allocations: 121.5 kB / 3.773 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/11.05, allocations: 73.72 kB / 3.773 GB, free: 22.68 MB / 0.5105 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 () * 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.0002912/11.05, allocations: 144.5 kB / 3.774 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/11.05, allocations: 64.97 kB / 3.774 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006243/11.05, allocations: 8.032 MB / 3.781 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/11.05, allocations: 15.84 kB / 3.781 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/11.05, allocations: 0 / 3.781 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/11.05, allocations: 3.562 kB / 3.781 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/11.06, allocations: 3.722 MB / 3.785 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/11.06, allocations: 4 kB / 3.785 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/11.06, allocations: 213.5 kB / 3.785 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/11.06, allocations: 140.6 kB / 3.785 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/11.06, allocations: 27.16 kB / 3.785 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/11.06, allocations: 4.02 MB / 3.789 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/11.06, allocations: 0 / 3.789 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/11.06, allocations: 1.884 MB / 3.791 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/11.06, allocations: 244.2 kB / 3.791 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/11.06, allocations: 16 kB / 3.791 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/11.07, allocations: 73.41 kB / 3.792 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/11.07, allocations: 50.05 kB / 3.792 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/11.07, allocations: 19.66 kB / 3.792 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004337/11.07, allocations: 355.1 kB / 3.792 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/11.07, allocations: 0 / 3.792 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004678/11.07, allocations: 1.25 MB / 3.793 GB, free: 6.875 MB / 0.5105 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 () * 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.006787/11.08, allocations: 1.311 MB / 3.794 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003791/11.08, allocations: 1.941 MB / 3.796 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/11.08, allocations: 0 / 3.796 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/11.08, allocations: 0.8573 MB / 3.797 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/11.09, allocations: 298.3 kB / 3.797 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/11.09, allocations: 1.702 MB / 3.799 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/11.09, allocations: 1.097 MB / 3.8 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009687/11.09, allocations: 246.2 kB / 3.8 GB, free: 496 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/11.09, allocations: 55.22 kB / 3.801 GB, free: 448 kB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/11.09, allocations: 0 / 3.801 GB, free: 448 kB / 0.5105 GB Notification: Performance of Templates: time 0.3369/11.43, allocations: 59.3 MB / 3.858 GB, free: 87.1 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)