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.002025/0.002025, allocations: 181.3 kB / 8.346 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.107/2.107, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.0009918/0.0009918, allocations: 85.33 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.5796/0.5796, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.582e-05, allocations: 4 kB / 425.3 MB, free: 8.227 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.166, allocations: 60.25 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.965/9.131, allocations: 2.907 GB / 3.382 GB, free: 136.9 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/9.132, allocations: 75.44 kB / 3.382 GB, free: 136.9 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.9501/10.08, allocations: 298.4 MB / 3.673 GB, free: 71.88 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.184e-06/10.08, allocations: 0 / 3.673 GB, free: 71.88 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001218/10.08, allocations: 31.78 kB / 3.673 GB, free: 71.87 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006598/10.09, allocations: 1.443 MB / 3.675 GB, free: 71.02 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/10.09, allocations: 7.812 kB / 3.675 GB, free: 71.02 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/10.09, allocations: 214.2 kB / 3.675 GB, free: 70.95 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/10.09, allocations: 0.6801 MB / 3.675 GB, free: 70.54 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/10.09, allocations: 18.97 kB / 3.675 GB, free: 70.54 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/10.09, allocations: 43.22 kB / 3.675 GB, free: 70.54 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001269/10.09, allocations: 0.7561 MB / 3.676 GB, free: 70.29 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/10.09, allocations: 0.8277 MB / 3.677 GB, free: 69.94 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/10.09, allocations: 3.875 kB / 3.677 GB, free: 69.94 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/10.09, allocations: 0 / 3.677 GB, free: 69.94 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/10.09, allocations: 31.22 kB / 3.677 GB, free: 69.94 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.003867/10.1, allocations: 3.568 MB / 3.681 GB, free: 67.3 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/10.1, allocations: 0.6831 MB / 3.681 GB, free: 67.01 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/10.1, allocations: 264.8 kB / 3.681 GB, free: 66.91 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1062/10.21, allocations: 63.97 MB / 3.744 GB, free: 2.074 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/10.21, allocations: 43.12 kB / 3.744 GB, free: 2.023 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=56): time 2.405e-06/10.21, allocations: 0 / 3.744 GB, free: 2.023 MB / 0.5108 GB Notification: Performance of matching and sorting (n=56): time 0.004188/10.21, allocations: 1.187 MB / 3.745 GB, free: 0.8203 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/10.21, allocations: 63.86 kB / 3.745 GB, free: 0.7461 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/10.21, allocations: 389.3 kB / 3.746 GB, free: 368 kB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/10.21, allocations: 33.64 kB / 3.746 GB, free: 328 kB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.2912/10.5, allocations: 356.9 kB / 3.746 GB, free: 78.46 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/10.5, allocations: 195 kB / 3.746 GB, free: 78.41 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/10.5, allocations: 0 / 3.746 GB, free: 78.41 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001407/10.5, allocations: 367.8 kB / 3.746 GB, free: 78.09 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/10.5, allocations: 484.7 kB / 3.747 GB, free: 78.09 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/10.5, allocations: 0.6502 MB / 3.748 GB, free: 77.89 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/10.51, allocations: 0.6245 MB / 3.748 GB, free: 77.88 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/10.51, allocations: 1.375 kB / 3.748 GB, free: 77.88 MB / 0.5108 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004537/10.51, allocations: 1.841 MB / 3.75 GB, free: 77.8 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/10.51, allocations: 1.054 MB / 3.751 GB, free: 76.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/10.51, allocations: 6.656 kB / 3.751 GB, free: 76.71 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/10.51, allocations: 1.395 MB / 3.752 GB, free: 76.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/10.52, allocations: 70.22 kB / 3.752 GB, free: 76.7 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/10.52, allocations: 2.409 MB / 3.755 GB, free: 76.17 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/10.52, allocations: 99.91 kB / 3.755 GB, free: 76.16 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/10.52, allocations: 75.44 kB / 3.755 GB, free: 76.16 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/10.52, allocations: 10.92 kB / 3.755 GB, free: 76.15 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00376/10.52, allocations: 1.723 MB / 3.757 GB, free: 76.14 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/10.52, allocations: 3.938 kB / 3.757 GB, free: 76.14 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/10.53, allocations: 1.364 MB / 3.758 GB, free: 76.13 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/10.53, allocations: 67.2 kB / 3.758 GB, free: 76.13 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/10.53, allocations: 2.361 MB / 3.76 GB, free: 75.59 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000937/10.53, allocations: 95.83 kB / 3.76 GB, free: 75.58 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/10.53, allocations: 75.25 kB / 3.76 GB, free: 75.58 MB / 0.5108 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.0002825/10.53, allocations: 120 kB / 3.761 GB, free: 75.47 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/10.53, allocations: 65.02 kB / 3.761 GB, free: 75.44 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006436/10.54, allocations: 7.999 MB / 3.768 GB, free: 75.29 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/10.54, allocations: 17.72 kB / 3.768 GB, free: 75.29 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/10.54, allocations: 0 / 3.768 GB, free: 75.29 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/10.54, allocations: 5.031 kB / 3.768 GB, free: 75.29 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/10.54, allocations: 3.596 MB / 3.772 GB, free: 74.35 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/10.54, allocations: 0 / 3.772 GB, free: 74.35 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/10.54, allocations: 215.6 kB / 3.772 GB, free: 74.35 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/10.54, allocations: 139.1 kB / 3.772 GB, free: 74.33 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/10.54, allocations: 9.156 kB / 3.772 GB, free: 74.33 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/10.55, allocations: 3.957 MB / 3.776 GB, free: 70.75 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/10.55, allocations: 2.781 kB / 3.776 GB, free: 70.75 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/10.55, allocations: 1.863 MB / 3.778 GB, free: 70.48 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/10.55, allocations: 230.4 kB / 3.778 GB, free: 70.35 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/10.55, allocations: 3.781 kB / 3.778 GB, free: 70.35 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/10.55, allocations: 64 kB / 3.778 GB, free: 70.34 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/10.55, allocations: 41.95 kB / 3.778 GB, free: 70.34 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/10.55, allocations: 23.25 kB / 3.778 GB, free: 70.34 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0002859/10.55, allocations: 297.2 kB / 3.779 GB, free: 70.25 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2.31e-07/10.55, allocations: 3.25 kB / 3.779 GB, free: 70.25 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00491/10.56, allocations: 1.207 MB / 3.78 GB, free: 70.22 MB / 0.5108 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.005696/10.56, allocations: 1.412 MB / 3.781 GB, free: 70.12 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003155/10.56, allocations: 1.893 MB / 3.783 GB, free: 70.09 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/10.56, allocations: 0 / 3.783 GB, free: 70.09 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/10.57, allocations: 0.8405 MB / 3.784 GB, free: 69.89 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/10.57, allocations: 235.2 kB / 3.784 GB, free: 69.89 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/10.57, allocations: 1.662 MB / 3.786 GB, free: 69.56 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/10.57, allocations: 1.093 MB / 3.787 GB, free: 68.85 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0007249/10.57, allocations: 241.2 kB / 3.787 GB, free: 68.85 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/10.57, allocations: 51.31 kB / 3.787 GB, free: 68.84 MB / 0.5108 GB Notification: Performance of SimCode: time 7.81e-07/10.57, allocations: 0 / 3.787 GB, free: 68.84 MB / 0.5108 GB Notification: Performance of Templates: time 0.06154/10.63, allocations: 51.27 MB / 3.837 GB, free: 66.68 MB / 0.5108 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)