Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001204/0.001204, 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.001674/0.001674, allocations: 192.8 kB / 16.14 MB, free: 6.66 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.75 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.001397/0.001397, allocations: 51.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004861/0.3558, allocations: 2.887 MB / 327.6 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.3583, allocations: 1.173 MB / 328.7 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.3585, allocations: 7.188 kB / 328.7 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.3593, allocations: 163 kB / 328.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.3597, allocations: 188.8 kB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.3601, allocations: 127 kB / 329.2 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.3607, allocations: 436.1 kB / 329.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.3609, allocations: 88.84 kB / 329.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.3611, allocations: 174 kB / 329.9 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3614, allocations: 199.6 kB / 330.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.3614, allocations: 24.66 kB / 330.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.3616, allocations: 60.27 kB / 330.2 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3618, allocations: 77.67 kB / 330.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.362, allocations: 183.5 kB / 330.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.3626, allocations: 472.5 kB / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3626, allocations: 0 / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3627, allocations: 1.062 kB / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3627, 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.001354/0.364, allocations: 0.6982 MB / 331.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/0.3641, allocations: 10.16 kB / 331.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3643, allocations: 51.19 kB / 331.6 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.365, allocations: 340.9 kB / 332 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.365, allocations: 13.19 kB / 332 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.3651, allocations: 24.69 kB / 332 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.3657, allocations: 289.1 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3657, allocations: 5.344 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.3657, allocations: 10.59 kB / 332.3 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3658, allocations: 5.125 kB / 332.3 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.3661, allocations: 151.6 kB / 332.5 MB, free: 12.06 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.001588/0.3677, allocations: 0.8271 MB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.3681, allocations: 187.7 kB / 333.5 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3683, allocations: 80.77 kB / 333.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.3683, allocations: 4 kB / 333.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.3687, allocations: 143.2 kB / 333.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 2.365e-06/0.3687, allocations: 0 / 333.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.000964/0.3697, allocations: 399 kB / 334.1 MB, free: 10.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002247/0.3699, allocations: 316.3 kB / 334.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/0.3706, allocations: 437.5 kB / 334.8 MB, free: 9.66 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.3707, allocations: 37.7 kB / 334.9 MB, free: 9.617 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.3709, allocations: 204.2 kB / 335.1 MB, free: 9.414 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.144e-05/0.371, allocations: 82.83 kB / 335.1 MB, free: 9.332 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.3712, allocations: 57.7 kB / 335.2 MB, free: 9.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3714, allocations: 350.8 kB / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3716, allocations: 63.97 kB / 335.6 MB, free: 8.855 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.3719, allocations: 172 kB / 335.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.3724, allocations: 183.2 kB / 335.9 MB, free: 8.453 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3724, 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.0007135/0.3731, allocations: 269.8 kB / 336.2 MB, free: 8.176 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.3732, allocations: 8 kB / 336.2 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3732, allocations: 0 / 336.2 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.3734, allocations: 36.83 kB / 336.3 MB, free: 8.129 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.3737, allocations: 47.98 kB / 336.3 MB, free: 8.082 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.3757, allocations: 1.452 MB / 337.8 MB, free: 6.488 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3761, allocations: 23.78 kB / 337.8 MB, free: 6.465 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.3761, allocations: 16.03 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.0002765/0.3764, allocations: 165.8 kB / 338 MB, free: 6.277 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.3765, allocations: 39.53 kB / 338 MB, free: 6.238 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.3767, allocations: 39.59 kB / 338 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3767, allocations: 4 kB / 338 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3767, allocations: 0 / 338 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008596/0.3776, allocations: 0.5836 MB / 338.6 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3789, allocations: 0.7117 MB / 339.3 MB, free: 4.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3789, allocations: 0 / 339.3 MB, free: 4.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.3792, allocations: 47.91 kB / 339.4 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3792, allocations: 0 / 339.4 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3792, allocations: 8 kB / 339.4 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3793, allocations: 0 / 339.4 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3793, allocations: 0 / 339.4 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.38, allocations: 402.9 kB / 339.8 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.3802, allocations: 144.5 kB / 339.9 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.3803, allocations: 11.98 kB / 339.9 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.3806, allocations: 12 kB / 339.9 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.3807, allocations: 11.92 kB / 340 MB, free: 4.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.3808, allocations: 15.98 kB / 340 MB, free: 4.055 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.3813, allocations: 307.2 kB / 340.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3813, allocations: 0 / 340.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.382, allocations: 99.98 kB / 340.4 MB, free: 3.664 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.001658/0.3837, allocations: 410.5 kB / 340.8 MB, free: 3.262 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008646/0.3846, allocations: 306.5 kB / 341.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3846, allocations: 0 / 341.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3848, allocations: 83.77 kB / 341.2 MB, free: 2.867 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.3857, allocations: 106.4 kB / 341.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.3877, allocations: 0.8991 MB / 342.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.3882, allocations: 0.7963 MB / 343 MB, free: 1.016 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002556/0.3885, allocations: 42.95 kB / 343 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.3886, allocations: 31.42 kB / 343 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3886, allocations: 8 kB / 343 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of Templates: time 0.01461/0.4032, allocations: 5.776 MB / 348.8 MB, free: 11.15 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)