Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002281/0.002281, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.612/1.612, allocations: 205.1 MB / 222 MB, free: 4.758 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.001431/0.00143, allocations: 51.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.344, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.0043/0.3483, allocations: 2.886 MB / 327.6 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3504, allocations: 1.175 MB / 328.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.3506, allocations: 6.719 kB / 328.7 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.3512, allocations: 163 kB / 328.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.3517, allocations: 188.7 kB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3521, allocations: 122.5 kB / 329.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.3527, allocations: 432.4 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3529, allocations: 96.86 kB / 329.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.3532, allocations: 170.2 kB / 329.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.3535, allocations: 199 kB / 330.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.3535, allocations: 21.28 kB / 330.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3537, allocations: 63.39 kB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3538, allocations: 78.17 kB / 330.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.3541, allocations: 187.1 kB / 330.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.3547, allocations: 472.5 kB / 330.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.3547, allocations: 4.969 kB / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3547, allocations: 0 / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3547, allocations: 0 / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001234/0.356, allocations: 0.6951 MB / 331.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.356, allocations: 9.531 kB / 331.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3561, allocations: 47.41 kB / 331.6 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.3566, allocations: 340.3 kB / 332 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3567, allocations: 17.58 kB / 332 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.3567, allocations: 24.91 kB / 332 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.3573, allocations: 290 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3574, allocations: 0 / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.3574, allocations: 7.406 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3574, allocations: 4.938 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.3578, allocations: 151.6 kB / 332.5 MB, free: 12.07 MB / 270.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.00148/0.3592, allocations: 0.8234 MB / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.3597, allocations: 187.7 kB / 333.5 MB, free: 11.14 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3599, allocations: 80.78 kB / 333.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.3599, allocations: 11.97 kB / 333.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.3603, allocations: 143.2 kB / 333.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.3603, allocations: 0 / 333.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.001032/0.3614, allocations: 399 kB / 334.1 MB, free: 10.47 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.3616, allocations: 316.3 kB / 334.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.3621, allocations: 437.5 kB / 334.8 MB, free: 9.656 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.3621, allocations: 41.64 kB / 334.9 MB, free: 9.609 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3623, allocations: 200.2 kB / 335.1 MB, free: 9.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/0.3624, allocations: 78.84 kB / 335.1 MB, free: 9.332 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.3625, allocations: 57.7 kB / 335.2 MB, free: 9.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3626, allocations: 350.8 kB / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3628, allocations: 63.97 kB / 335.6 MB, free: 8.855 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.3631, allocations: 172 kB / 335.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3634, allocations: 183.2 kB / 335.9 MB, free: 8.453 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3634, allocations: 3.938 kB / 335.9 MB, free: 8.449 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004842/0.3639, allocations: 269.8 kB / 336.2 MB, free: 8.176 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3639, allocations: 8 kB / 336.2 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3639, allocations: 0 / 336.2 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.3641, allocations: 36.84 kB / 336.2 MB, free: 8.129 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3644, allocations: 51.91 kB / 336.3 MB, free: 8.078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.3661, allocations: 1.452 MB / 337.8 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.3664, allocations: 23.78 kB / 337.8 MB, free: 6.461 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.3664, allocations: 12 kB / 337.8 MB, free: 6.449 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.3667, allocations: 165.9 kB / 337.9 MB, free: 6.277 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.3667, allocations: 43.7 kB / 338 MB, free: 6.234 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.3668, allocations: 47.56 kB / 338 MB, free: 6.184 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3668, allocations: 4 kB / 338 MB, free: 6.18 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3669, allocations: 0 / 338 MB, free: 6.18 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006138/0.3675, allocations: 0.5836 MB / 338.6 MB, free: 5.492 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3685, allocations: 0.7117 MB / 339.3 MB, free: 4.719 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3685, allocations: 0 / 339.3 MB, free: 4.719 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.3688, allocations: 47.91 kB / 339.4 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3688, allocations: 0 / 339.4 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.3688, allocations: 8 kB / 339.4 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3688, allocations: 0 / 339.4 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3688, allocations: 0 / 339.4 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.3694, allocations: 402.8 kB / 339.8 MB, free: 4.254 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.3696, allocations: 140.5 kB / 339.9 MB, free: 4.098 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.3697, allocations: 8 kB / 339.9 MB, free: 4.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3699, allocations: 15.98 kB / 339.9 MB, free: 4.074 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.37, allocations: 11.92 kB / 340 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.37, allocations: 12 kB / 340 MB, free: 4.051 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003835/0.3704, allocations: 315.1 kB / 340.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3704, allocations: 0 / 340.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.3709, allocations: 95.98 kB / 340.4 MB, free: 3.656 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.3721, allocations: 410.7 kB / 340.8 MB, free: 3.254 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006344/0.3727, allocations: 306.5 kB / 341.1 MB, free: 2.941 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3727, allocations: 0 / 341.1 MB, free: 2.941 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.3729, allocations: 83.77 kB / 341.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.3736, allocations: 94.45 kB / 341.2 MB, free: 2.766 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.3753, allocations: 0.9108 MB / 342.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3757, allocations: 0.7963 MB / 343 MB, free: 1.008 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.3759, allocations: 46.95 kB / 343 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.376, allocations: 27.44 kB / 343 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of SimCode: time 7.01e-07/0.376, allocations: 8 kB / 343 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of Templates: time 0.01147/0.3875, allocations: 5.768 MB / 348.8 MB, free: 11.15 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)