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.001088/0.001088, allocations: 97.08 kB / 16.3 MB, free: 5.578 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.001272/0.001272, allocations: 182.2 kB / 17.2 MB, free: 5.512 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.485/1.485, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004653/0.0004654, allocations: 16 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.02566/0.1299, allocations: 25.17 MB / 352.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.1519, allocations: 13.38 MB / 366.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.1537, allocations: 59.5 kB / 366.3 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.1554, allocations: 0.5168 MB / 366.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005612/0.161, allocations: 1.881 MB / 368.7 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009214/0.1703, allocations: 2.915 MB / 371.6 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004788/0.1751, allocations: 2.318 MB / 373.9 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.1767, allocations: 0.9768 MB / 374.9 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.1787, allocations: 1.219 MB / 376.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.1802, allocations: 1.09 MB / 377.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.1804, allocations: 88 kB / 377.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.1851, allocations: 2.208 MB / 379.5 MB, free: 144 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1883/0.3735, allocations: 497.4 kB / 380 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000827/0.3743, allocations: 309.6 kB / 380.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006602/0.3809, allocations: 2.624 MB / 382.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.381, allocations: 0 / 382.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.381, allocations: 0 / 382.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.109e-05/0.3811, allocations: 4.156 kB / 382.9 MB, free: 13.89 MB / 318.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.005667/0.3867, allocations: 1.902 MB / 384.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3868, allocations: 9.406 kB / 384.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/0.3875, allocations: 175.4 kB / 385 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.3893, allocations: 0.9699 MB / 386 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.3895, allocations: 176.3 kB / 386.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.3897, allocations: 99.36 kB / 386.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.3928, allocations: 1.74 MB / 388 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.3928, allocations: 5.219 kB / 388 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.393, allocations: 44.7 kB / 388 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.3931, allocations: 112.9 kB / 388.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.396, allocations: 1.776 MB / 389.9 MB, free: 12.2 MB / 318.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.01128/0.4073, allocations: 6.795 MB / 396.7 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.4089, allocations: 1.229 MB / 397.9 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004948/0.4139, allocations: 4.326 MB / 402.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4139, allocations: 49 kB / 402.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007593/0.4147, allocations: 210.5 kB / 402.5 MB, free: 7.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.424e-06/0.4147, allocations: 0 / 402.5 MB, free: 7.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=112): time 0.01675/0.4314, allocations: 5.714 MB / 408.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.4316, allocations: 140.8 kB / 408.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.4338, allocations: 1.251 MB / 409.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004118/0.4343, allocations: 52.17 kB / 409.7 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.4347, allocations: 0.6095 MB / 410.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.4352, allocations: 386.2 kB / 410.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.4353, allocations: 28.94 kB / 410.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4355, allocations: 369.7 kB / 411.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4366, allocations: 0.6899 MB / 411.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4377, allocations: 1.043 MB / 412.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4388, allocations: 0.8153 MB / 413.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.4388, allocations: 3.906 kB / 413.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003437/0.4422, allocations: 2.237 MB / 415.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005979/0.4429, allocations: 3.778 MB / 419.6 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.4429, allocations: 11.16 kB / 419.6 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006931/0.4498, allocations: 1.291 MB / 420.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.4513, allocations: 302.4 kB / 421.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.4536, allocations: 1.597 MB / 422.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.4551, allocations: 91.72 kB / 422.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.4553, allocations: 72.78 kB / 423 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.4554, allocations: 8 kB / 423 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003268/0.4586, allocations: 2.023 MB / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4587, allocations: 12 kB / 425 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006015/0.4647, allocations: 1.111 MB / 426.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.4661, allocations: 303.5 kB / 426.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.4682, allocations: 1.465 MB / 427.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.4698, allocations: 83.7 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.47, allocations: 66.16 kB / 428 MB, free: 10.23 MB / 334.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 (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 initialization (156): * Single equations (assignments): 155 * 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 {8 18} Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.471, allocations: 463.2 kB / 428.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.4713, allocations: 146.2 kB / 428.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.475, allocations: 2.092 MB / 430.7 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.4751, allocations: 16 kB / 430.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4751, allocations: 0 / 430.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.4751, allocations: 7.969 kB / 430.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/0.4803, allocations: 3.585 MB / 434.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4804, allocations: 0 / 434.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.4813, allocations: 191.3 kB / 434.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.4848, allocations: 1 MB / 435.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.485, allocations: 33.34 kB / 435.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.4871, allocations: 1.613 MB / 437.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4871, allocations: 0 / 437.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/0.4915, allocations: 2.898 MB / 440.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009861/0.4925, allocations: 419 kB / 440.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.4928, allocations: 23.95 kB / 440.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.4938, allocations: 91.88 kB / 440.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.494, allocations: 97.16 kB / 440.7 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.4941, allocations: 47.97 kB / 440.7 MB, free: 436 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001337/0.4954, allocations: 0.8377 MB / 441.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4955, allocations: 0 / 441.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004538/0.5, allocations: 1.156 MB / 442.7 MB, free: 14.43 MB / 350.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 (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 {9 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.002653/0.5027, allocations: 0.8416 MB / 443.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006513/0.5092, allocations: 2.767 MB / 446.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.5092, allocations: 4 kB / 446.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.5109, allocations: 0.8764 MB / 447.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/0.5141, allocations: 0.5973 MB / 447.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.5199, allocations: 3.562 MB / 451.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/0.5209, allocations: 1.319 MB / 452.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001987/0.5229, allocations: 0.5968 MB / 453.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.5233, allocations: 125.9 kB / 453.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5233, allocations: 4 kB / 453.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of Templates: time 0.06139/0.5847, allocations: 40.37 MB / 493.8 MB, free: 11.66 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: