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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008265, allocations: 89.81 kB / 16.65 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009725/0.0009727, allocations: 178.6 kB / 17.56 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2792/0.2792, allocations: 48.78 MB / 320.8 MB, free: 11.09 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005227/0.0005227, allocations: 14.91 kB / 391.8 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1032, allocations: 60.27 MB / 452.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.04154/0.1447, allocations: 45.29 MB / 497.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.1607, allocations: 12.18 MB / 0.4976 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1617, allocations: 15.88 kB / 0.4976 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.1631, allocations: 294.4 kB / 0.4979 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.1648, allocations: 0.6145 MB / 0.4985 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01091/0.1758, allocations: 3.397 MB / 0.5018 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.1792, allocations: 2.924 MB / 0.5047 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006386/0.1798, allocations: 444.5 kB / 0.5051 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.1807, allocations: 0.5602 MB / 0.5056 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009552/0.1817, allocations: 0.7394 MB / 0.5064 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.1818, allocations: 36 kB / 0.5064 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.1931, allocations: 6.247 MB / 0.5125 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004708/0.1936, allocations: 271.2 kB / 0.5128 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006629/0.1943, allocations: 471.3 kB / 0.5132 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009047/0.2033, allocations: 4.283 MB / 0.5174 GB, free: 11.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.2034, allocations: 4 kB / 0.5174 GB, free: 11.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.2034, allocations: 0 / 0.5174 GB, free: 11.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.28e-05/0.2035, allocations: 0 / 0.5174 GB, free: 11.17 MB / 414.1 MB 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.004359/0.2079, allocations: 1.497 MB / 0.5189 GB, free: 9.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.2079, allocations: 12.03 kB / 0.5189 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/0.2089, allocations: 203.8 kB / 0.5191 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009763/0.2099, allocations: 0.5696 MB / 0.5196 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.21, allocations: 58.3 kB / 0.5197 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.2101, allocations: 80.28 kB / 0.5198 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.2142, allocations: 1.726 MB / 0.5214 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2142, allocations: 0 / 0.5214 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.741e-05/0.2143, allocations: 39.92 kB / 0.5215 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.2143, allocations: 26 kB / 0.5215 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.2183, allocations: 1.651 MB / 0.5231 GB, free: 5.211 MB / 414.1 MB 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.004473/0.2228, allocations: 3.653 MB / 0.5267 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.2259, allocations: 1.187 MB / 0.5278 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1974/0.4234, allocations: 295.2 kB / 0.5281 GB, free: 85.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1208/0.5442, allocations: 64.58 MB / 0.5912 GB, free: 30.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.5443, allocations: 39.12 kB / 0.5912 GB, free: 30.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 3.176e-06/0.5443, allocations: 4 kB / 0.5912 GB, free: 30.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.006275/0.5506, allocations: 2.108 MB / 0.5933 GB, free: 28.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.5507, allocations: 55.97 kB / 0.5933 GB, free: 28.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.5513, allocations: 0.5219 MB / 0.5939 GB, free: 27.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.5514, allocations: 39.34 kB / 0.5939 GB, free: 27.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.5517, allocations: 358.8 kB / 0.5942 GB, free: 27.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.5519, allocations: 201.7 kB / 0.5944 GB, free: 27.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.552, allocations: 57.69 kB / 0.5945 GB, free: 27.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.5521, allocations: 381.4 kB / 0.5948 GB, free: 26.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/0.5529, allocations: 0.5087 MB / 0.5953 GB, free: 26.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008183/0.5537, allocations: 0.6467 MB / 0.596 GB, free: 25.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.5552, allocations: 1.119 MB / 0.5971 GB, free: 24.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5553, allocations: 0 / 0.5971 GB, free: 24.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003067/0.5583, allocations: 1.87 MB / 0.5989 GB, free: 22.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-05/0.5584, allocations: 174.7 kB / 0.5991 GB, free: 22.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5585, allocations: 8 kB / 0.5991 GB, free: 22.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00404/0.5625, allocations: 1.609 MB / 0.6006 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.5628, allocations: 67.91 kB / 0.6007 GB, free: 20.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.5658, allocations: 2.199 MB / 0.6028 GB, free: 18.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5668, allocations: 117.9 kB / 0.603 GB, free: 18.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.567, allocations: 75.92 kB / 0.603 GB, free: 18.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.567, allocations: 4 kB / 0.603 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002771/0.5698, allocations: 1.749 MB / 0.6047 GB, free: 16.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5698, allocations: 0 / 0.6047 GB, free: 16.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.5728, allocations: 1.495 MB / 0.6062 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.5731, allocations: 63.91 kB / 0.6063 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.5759, allocations: 2.155 MB / 0.6084 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.5768, allocations: 111.4 kB / 0.6085 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5769, allocations: 75.91 kB / 0.6086 GB, free: 12.57 MB / 414.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0005128/0.5775, allocations: 324.9 kB / 0.6089 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.5777, allocations: 67.19 kB / 0.6089 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006265/0.5839, allocations: 7.936 MB / 0.6167 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.584, allocations: 15.98 kB / 0.6167 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.584, allocations: 4 kB / 0.6167 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.584, allocations: 3.984 kB / 0.6167 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.5867, allocations: 3.816 MB / 0.6204 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5867, allocations: 0 / 0.6204 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.5882, allocations: 216.4 kB / 0.6206 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006302/0.5889, allocations: 145.5 kB / 0.6208 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.589, allocations: 19.97 kB / 0.6208 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.5924, allocations: 4.032 MB / 0.6247 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5924, allocations: 3.938 kB / 0.6247 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.5954, allocations: 1.937 MB / 0.6266 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.5959, allocations: 243.7 kB / 0.6269 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.596, allocations: 12 kB / 0.6269 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.5968, allocations: 71.88 kB / 0.6269 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.5969, allocations: 44.5 kB / 0.627 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.597, allocations: 27.97 kB / 0.627 GB, free: 9.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004817/0.5975, allocations: 362.8 kB / 0.6273 GB, free: 8.703 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5975, allocations: 0 / 0.6273 GB, free: 8.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003471/0.601, allocations: 1.21 MB / 0.6285 GB, free: 7.555 MB / 430.1 MB 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004718/0.6057, allocations: 0.9895 MB / 0.6295 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004177/0.6099, allocations: 1.996 MB / 0.6314 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6099, allocations: 0 / 0.6314 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.6121, allocations: 0.8918 MB / 0.6323 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.6141, allocations: 293.3 kB / 0.6326 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.618, allocations: 2.607 MB / 0.6351 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.6187, allocations: 1.077 MB / 0.6362 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007283/0.6195, allocations: 220 kB / 0.6364 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.6197, allocations: 59.41 kB / 0.6365 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6198, allocations: 0 / 0.6365 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Templates: time 0.08704/0.7068, allocations: 61.46 MB / 0.6965 GB, free: 1.809 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: