Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 104.5 kB / 17.06 MB, free: 6.016 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.001337/0.001337, allocations: 196 kB / 18 MB, free: 5.094 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.457/1.457, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.002318/0.002318, allocations: 51.92 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1539, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.3172/0.4711, allocations: 28.69 MB / 403.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02436/0.4955, allocations: 15.01 MB / 418.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.4989, allocations: 43.03 kB / 418.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.5015, allocations: 0.5938 MB / 418.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008999/0.5105, allocations: 2.291 MB / 421.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01407/0.5246, allocations: 3.729 MB / 424.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008916/0.5336, allocations: 4.139 MB / 429 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.5369, allocations: 1.165 MB / 430.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.541, allocations: 1.561 MB / 431.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.544, allocations: 1.666 MB / 433.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.5444, allocations: 164 kB / 433.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006522/0.5509, allocations: 2.414 MB / 435.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007984/0.5518, allocations: 0.6155 MB / 436.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.553, allocations: 0.8711 MB / 437.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007992/0.561, allocations: 3.725 MB / 441.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.5611, allocations: 0 / 441.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5611, allocations: 0 / 441.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.509e-05/0.5611, allocations: 0 / 441.1 MB, free: 12.89 MB / 366.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.006382/0.5675, allocations: 2.2 MB / 443.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.5676, allocations: 12.03 kB / 443.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.5682, allocations: 170.1 kB / 443.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.5702, allocations: 1.065 MB / 444.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.5704, allocations: 183 kB / 444.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.5706, allocations: 99.95 kB / 444.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.5735, allocations: 1.753 MB / 446.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.5736, allocations: 0 / 446.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.5737, allocations: 43.97 kB / 446.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.5739, allocations: 109.9 kB / 446.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.5768, allocations: 1.788 MB / 448.6 MB, free: 5.301 MB / 366.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.01262/0.5895, allocations: 6.705 MB / 455.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.5914, allocations: 1.234 MB / 456.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.5926, allocations: 0.769 MB / 457.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006711/0.5993, allocations: 4.27 MB / 461.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5994, allocations: 47.56 kB / 461.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007914/0.6002, allocations: 170.7 kB / 461.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 2.906e-06/0.6002, allocations: 0 / 461.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.0189/0.6191, allocations: 5.699 MB / 467.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.6192, allocations: 141.5 kB / 467.6 MB, free: 1.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.6211, allocations: 1.253 MB / 468.8 MB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.6213, allocations: 53.64 kB / 468.9 MB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.6218, allocations: 0.6169 MB / 469.5 MB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.6222, allocations: 382.4 kB / 469.9 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/0.6227, allocations: 299.2 kB / 470.2 MB, free: 14.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6229, allocations: 301.1 kB / 470.5 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.6242, allocations: 0.7269 MB / 471.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.6261, allocations: 1.064 MB / 472.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.6291, allocations: 1.743 MB / 474 MB, free: 10.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.6291, allocations: 4 kB / 474 MB, free: 10.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004576/0.6337, allocations: 2.284 MB / 476.3 MB, free: 8.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.6338, allocations: 11.28 kB / 476.3 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.6338, allocations: 12 kB / 476.3 MB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006871/0.6407, allocations: 1.281 MB / 477.6 MB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6419, allocations: 291.6 kB / 477.9 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.6444, allocations: 1.61 MB / 479.5 MB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.6458, allocations: 64.53 kB / 479.6 MB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.646, allocations: 67.97 kB / 479.6 MB, free: 5.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001702/0.6477, allocations: 0.9841 MB / 480.6 MB, free: 4.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001467/0.6492, allocations: 1.051 MB / 481.7 MB, free: 2.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00242/0.6516, allocations: 1.722 MB / 483.4 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.616e-06/0.6517, allocations: 6.5 kB / 483.4 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003777/0.6554, allocations: 2.199 MB / 485.6 MB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6555, allocations: 12 kB / 485.6 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6555, allocations: 8 kB / 485.6 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006132/0.6616, allocations: 1.101 MB / 486.7 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.6631, allocations: 310.6 kB / 487 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.6654, allocations: 1.446 MB / 488.5 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.6671, allocations: 59.91 kB / 488.5 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.6674, allocations: 71.95 kB / 488.6 MB, free: 11.72 MB / 414.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.0006295/0.668, allocations: 283.8 kB / 488.9 MB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/0.6686, allocations: 146.2 kB / 489 MB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.6733, allocations: 2.078 MB / 491.1 MB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.6733, allocations: 16 kB / 491.1 MB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6733, allocations: 4 kB / 491.1 MB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.6733, allocations: 7.969 kB / 491.1 MB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00644/0.6798, allocations: 3.569 MB / 494.7 MB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.6798, allocations: 0 / 494.7 MB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009144/0.6807, allocations: 191.8 kB / 494.9 MB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/0.6831, allocations: 0.8635 MB / 495.7 MB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.6832, allocations: 31.98 kB / 495.8 MB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.6855, allocations: 1.615 MB / 497.4 MB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6855, allocations: 0.875 kB / 497.4 MB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/0.6902, allocations: 2.912 MB / 0.4886 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.6913, allocations: 403 kB / 0.4889 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.6915, allocations: 24 kB / 0.489 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.6924, allocations: 55.89 kB / 0.489 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.6927, allocations: 97.17 kB / 0.4891 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.6928, allocations: 49.09 kB / 0.4892 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001308/0.6941, allocations: 0.8443 MB / 0.49 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6941, allocations: 7.938 kB / 0.49 GB, free: 14.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003436/0.6976, allocations: 1.167 MB / 0.4911 GB, free: 13.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {(9,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002188/0.6998, allocations: 0.8417 MB / 0.492 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006706/0.7065, allocations: 2.858 MB / 0.4947 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.7065, allocations: 3.859 kB / 0.4947 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.7083, allocations: 0.8751 MB / 0.4956 GB, free: 8.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/0.7117, allocations: 0.6679 MB / 0.4963 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.7174, allocations: 3.056 MB / 0.4992 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/0.7183, allocations: 1.292 MB / 0.5005 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002023/0.7204, allocations: 0.5861 MB / 0.5011 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.7207, allocations: 127.4 kB / 0.5012 GB, free: 2.855 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7207, allocations: 0 / 0.5012 GB, free: 2.855 MB / 430.1 MB Notification: Performance of Templates: time 0.07427/0.795, allocations: 45.06 MB / 0.5452 GB, free: 5.707 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1)