Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.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) 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(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008375, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005889/0.005889, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.629/1.629, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.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.000485/0.000485, allocations: 12 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2917, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.09785/0.3896, allocations: 93.77 MB / 420.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03546/0.4251, allocations: 22.3 MB / 443.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004084/0.4292, allocations: 103.1 kB / 443.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.4325, allocations: 0.8277 MB / 444 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.4461, allocations: 3.516 MB / 447.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01778/0.4639, allocations: 4.9 MB / 452.4 MB, free: 5.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2767/0.7406, allocations: 10.69 MB / 463.1 MB, free: 6.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003754/0.7444, allocations: 1.576 MB / 464.7 MB, free: 6.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1428/0.8872, allocations: 73.37 MB / 0.5255 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06315/0.9504, allocations: 31.94 MB / 0.5566 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.9516, allocations: 127.5 kB / 0.5568 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.9657, allocations: 5.944 MB / 0.5626 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.9681, allocations: 0.9776 MB / 0.5635 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.9715, allocations: 1.389 MB / 0.5649 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.9836, allocations: 5.311 MB / 0.5701 GB, free: 8.297 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9836, allocations: 0 / 0.5701 GB, free: 8.297 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.9837, allocations: 4 kB / 0.5701 GB, free: 8.293 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001038/0.9838, allocations: 0 / 0.5701 GB, free: 8.293 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.008509/0.9923, allocations: 2.986 MB / 0.573 GB, free: 5.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.9923, allocations: 11.97 kB / 0.573 GB, free: 5.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.9934, allocations: 304.6 kB / 0.5733 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.9961, allocations: 1.585 MB / 0.5748 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.9963, allocations: 214.2 kB / 0.575 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/0.9967, allocations: 209.2 kB / 0.5752 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/1.002, allocations: 3.293 MB / 0.5785 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/1.002, allocations: 7 kB / 0.5785 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/1.002, allocations: 80.67 kB / 0.5785 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003174/1.002, allocations: 254.8 kB / 0.5788 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004943/1.007, allocations: 3.112 MB / 0.5818 GB, free: 12.24 MB / 478.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.01901/1.026, allocations: 13.8 MB / 0.5953 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/1.03, allocations: 2.235 MB / 0.5975 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/1.033, allocations: 1.353 MB / 0.5988 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008737/1.041, allocations: 5.891 MB / 0.6046 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/1.041, allocations: 52.56 kB / 0.6046 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009419/1.042, allocations: 181.9 kB / 0.6048 GB, free: 3.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=171): time 3.326e-06/1.042, allocations: 4 kB / 0.6048 GB, free: 3.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=197): time 0.02263/1.065, allocations: 9.209 MB / 0.6138 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/1.065, allocations: 73.41 kB / 0.6138 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/1.068, allocations: 1.841 MB / 0.6156 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000291/1.068, allocations: 61.7 kB / 0.6157 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008409/1.069, allocations: 1.061 MB / 0.6167 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/1.07, allocations: 0.6839 MB / 0.6174 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/1.07, allocations: 194.4 kB / 0.6176 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/1.07, allocations: 308.5 kB / 0.6179 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/1.072, allocations: 1.223 MB / 0.6191 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/1.074, allocations: 1.809 MB / 0.6208 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2605/1.335, allocations: 3.167 MB / 0.6239 GB, free: 237.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/1.335, allocations: 6.359 kB / 0.6239 GB, free: 237.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009448/1.344, allocations: 4.303 MB / 0.6281 GB, free: 237.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004018/1.345, allocations: 0.5986 MB / 0.6287 GB, free: 236.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.345, allocations: 17.81 kB / 0.6287 GB, free: 236.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01349/1.358, allocations: 3.657 MB / 0.6323 GB, free: 235.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.36, allocations: 333.6 kB / 0.6326 GB, free: 235.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/1.365, allocations: 3.95 MB / 0.6365 GB, free: 233.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.368, allocations: 185.2 kB / 0.6367 GB, free: 233.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/1.368, allocations: 118.1 kB / 0.6368 GB, free: 233.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.368, allocations: 6.969 kB / 0.6368 GB, free: 233.8 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005621/1.374, allocations: 3.816 MB / 0.6405 GB, free: 231.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/1.374, allocations: 20.38 kB / 0.6405 GB, free: 231.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009007/1.383, allocations: 2.869 MB / 0.6433 GB, free: 230.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.384, allocations: 381 kB / 0.6437 GB, free: 230.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004712/1.389, allocations: 3.471 MB / 0.6471 GB, free: 227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.392, allocations: 190.6 kB / 0.6473 GB, free: 226.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.392, allocations: 108 kB / 0.6474 GB, free: 226.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * 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 {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.001391/1.393, allocations: 0.7025 MB / 0.6481 GB, free: 226 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/1.394, allocations: 227.9 kB / 0.6483 GB, free: 225.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006533/1.4, allocations: 3.968 MB / 0.6522 GB, free: 222 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.4, allocations: 24 kB / 0.6522 GB, free: 221.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.4, allocations: 7.938 kB / 0.6522 GB, free: 221.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004685/1.405, allocations: 3.391 MB / 0.6555 GB, free: 218.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009137/1.414, allocations: 6.326 MB / 0.6617 GB, free: 212.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.414, allocations: 1.969 kB / 0.6617 GB, free: 212.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.415, allocations: 315.6 kB / 0.662 GB, free: 211.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004045/1.42, allocations: 1.234 MB / 0.6632 GB, free: 210.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/1.42, allocations: 71.95 kB / 0.6632 GB, free: 210.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007338/1.427, allocations: 10.45 MB / 0.6735 GB, free: 199.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.427, allocations: 4 kB / 0.6735 GB, free: 199.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007518/1.435, allocations: 5.207 MB / 0.6785 GB, free: 194.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.436, allocations: 0.5982 MB / 0.6791 GB, free: 193.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/1.436, allocations: 58.3 kB / 0.6792 GB, free: 193.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.438, allocations: 151.9 kB / 0.6793 GB, free: 193.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/1.438, allocations: 165.8 kB / 0.6795 GB, free: 193.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.438, allocations: 79.95 kB / 0.6796 GB, free: 193.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001389/1.44, allocations: 1.26 MB / 0.6808 GB, free: 191.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.44, allocations: 3.969 kB / 0.6808 GB, free: 191.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004534/1.444, allocations: 1.739 MB / 0.6825 GB, free: 190.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/1.447, allocations: 1 MB / 0.6835 GB, free: 189.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008956/1.456, allocations: 5.036 MB / 0.6884 GB, free: 184.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.456, allocations: 0 / 0.6884 GB, free: 184.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003474/1.459, allocations: 2.251 MB / 0.6906 GB, free: 182.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/1.464, allocations: 0.992 MB / 0.6916 GB, free: 181.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008614/1.473, allocations: 6.86 MB / 0.6983 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.474, allocations: 1.879 MB / 0.7001 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003014/1.477, allocations: 0.9641 MB / 0.701 GB, free: 171.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/1.477, allocations: 191.4 kB / 0.7012 GB, free: 171.3 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/1.477, allocations: 0 / 0.7012 GB, free: 171.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.09409/1.571, allocations: 71.74 MB / 0.7713 GB, free: 99.45 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)