Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2025, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.02777/0.2303, allocations: 28.86 MB / 438.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.2484, allocations: 15.02 MB / 453.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.2494, allocations: 43.75 kB / 453.9 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.2507, allocations: 0.5901 MB / 454.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.2549, allocations: 2.294 MB / 456.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007156/0.262, allocations: 3.727 MB / 460.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.2659, allocations: 4.147 MB / 464.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.2671, allocations: 1.164 MB / 465.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.2689, allocations: 1.581 MB / 467.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.2708, allocations: 1.663 MB / 469 MB, free: 6.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.2711, allocations: 164 kB / 469.2 MB, free: 6.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.275, allocations: 2.441 MB / 471.6 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005645/0.2756, allocations: 0.6155 MB / 472.2 MB, free: 3.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008399/0.2764, allocations: 0.8672 MB / 473.1 MB, free: 2.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.2806, allocations: 3.74 MB / 476.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2806, allocations: 0 / 476.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2806, allocations: 4 kB / 476.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.2806, allocations: 0 / 476.8 MB, free: 14.44 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.004779/0.2854, allocations: 2.204 MB / 479 MB, free: 12.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2855, allocations: 8.031 kB / 479.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/0.286, allocations: 170.1 kB / 479.2 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.2878, allocations: 1.061 MB / 480.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.288, allocations: 179 kB / 480.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.2882, allocations: 111.9 kB / 480.6 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.2909, allocations: 1.753 MB / 482.3 MB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.2909, allocations: 0 / 482.3 MB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.2911, allocations: 47.97 kB / 482.4 MB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/0.2912, allocations: 109.9 kB / 482.5 MB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.2941, allocations: 1.776 MB / 484.3 MB, free: 6.848 MB / 398.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.01067/0.3048, allocations: 6.711 MB / 491 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.3066, allocations: 1.234 MB / 492.2 MB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.3077, allocations: 0.7728 MB / 493 MB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005554/0.3133, allocations: 4.267 MB / 497.2 MB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3133, allocations: 51.56 kB / 497.3 MB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005924/0.3139, allocations: 174.7 kB / 497.5 MB, free: 8.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.575e-06/0.3139, allocations: 0 / 497.5 MB, free: 8.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.0181/0.332, allocations: 5.687 MB / 0.4914 GB, free: 3.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.3321, allocations: 141.5 kB / 0.4915 GB, free: 2.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.3336, allocations: 1.253 MB / 0.4927 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.3337, allocations: 53.7 kB / 0.4928 GB, free: 1.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.3341, allocations: 0.6052 MB / 0.4934 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.3344, allocations: 398.3 kB / 0.4937 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.3349, allocations: 283.4 kB / 0.494 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.335, allocations: 309.1 kB / 0.4943 GB, free: 40 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3362, allocations: 0.7192 MB / 0.495 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.3376, allocations: 1.068 MB / 0.496 GB, free: 14.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.3401, allocations: 1.743 MB / 0.4977 GB, free: 12.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3402, allocations: 7.938 kB / 0.4978 GB, free: 12.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003799/0.344, allocations: 2.277 MB / 0.5 GB, free: 9.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.344, allocations: 22.89 kB / 0.5 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.344, allocations: 8 kB / 0.5 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007371/0.3514, allocations: 1.285 MB / 0.5013 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3526, allocations: 299.5 kB / 0.5015 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.3549, allocations: 1.599 MB / 0.5031 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.356, allocations: 63.97 kB / 0.5032 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.3561, allocations: 67.97 kB / 0.5032 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001491/0.3576, allocations: 0.98 MB / 0.5042 GB, free: 5.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00137/0.359, allocations: 1.059 MB / 0.5052 GB, free: 4.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002432/0.3614, allocations: 1.722 MB / 0.5069 GB, free: 2.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.153e-06/0.3615, allocations: 7.938 kB / 0.5069 GB, free: 2.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003579/0.365, allocations: 2.195 MB / 0.5091 GB, free: 300 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3651, allocations: 8 kB / 0.5091 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3651, allocations: 12 kB / 0.5091 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006699/0.3718, allocations: 1.098 MB / 0.5101 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.373, allocations: 307.5 kB / 0.5104 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.3749, allocations: 1.461 MB / 0.5119 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.376, allocations: 63.95 kB / 0.5119 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.3761, allocations: 67.97 kB / 0.512 GB, free: 13.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.3764, allocations: 279.8 kB / 0.5123 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.3767, allocations: 146.2 kB / 0.5124 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.3806, allocations: 2.086 MB / 0.5144 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.3807, allocations: 7.969 kB / 0.5144 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3807, allocations: 11.94 kB / 0.5145 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000687/0.3814, allocations: 391 kB / 0.5148 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.3816, allocations: 24 kB / 0.5149 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.3826, allocations: 51.95 kB / 0.5149 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.3828, allocations: 101.2 kB / 0.515 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004447/0.3872, allocations: 2.04 MB / 0.517 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003674/0.3909, allocations: 2.521 MB / 0.5195 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001041/0.392, allocations: 0.7168 MB / 0.5202 GB, free: 4.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.393, allocations: 0.8479 MB / 0.521 GB, free: 3.984 MB / 446.1 MB Notification: Performance of Backend: time 3e-07/0.393, allocations: 0 / 0.521 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007304/0.4003, allocations: 3.118 MB / 0.524 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of SimCode: time 0.00492/0.4053, allocations: 3.736 MB / 0.5277 GB, free: 13.09 MB / 462.1 MB Notification: Performance of Templates: time 0.2109/0.6162, allocations: 48.41 MB / 0.5749 GB, free: 105.3 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1)