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.0009582/0.0009583, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006698/0.006698, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.602/1.602, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0007258/0.000726, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3191, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003709/0.3228, allocations: 2.534 MB / 329.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.3254, allocations: 1.101 MB / 330.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.3256, allocations: 3.156 kB / 330.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.3261, allocations: 162.1 kB / 330.8 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.3266, allocations: 185 kB / 331 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.327, allocations: 127.5 kB / 331.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.3276, allocations: 428.2 kB / 331.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.3278, allocations: 96.53 kB / 331.6 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.3281, allocations: 160.5 kB / 331.8 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.3284, allocations: 199.1 kB / 332 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.3285, allocations: 20.53 kB / 332 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3286, allocations: 57.11 kB / 332.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.3288, allocations: 78.05 kB / 332.1 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.329, allocations: 211.9 kB / 332.3 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.3295, allocations: 465.5 kB / 332.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3295, allocations: 0 / 332.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3295, allocations: 0 / 332.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3295, allocations: 0 / 332.8 MB, free: 13.18 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.001025/0.3306, allocations: 0.625 MB / 333.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3306, allocations: 9.156 kB / 333.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.34e-05/0.3307, allocations: 48.02 kB / 333.5 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.3312, allocations: 340.5 kB / 333.8 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3312, allocations: 20.38 kB / 333.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.3313, allocations: 20.91 kB / 333.8 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.3318, allocations: 294.5 kB / 334.1 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3318, allocations: 0 / 334.1 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.3318, allocations: 11.31 kB / 334.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3318, allocations: 4.281 kB / 334.2 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.3322, allocations: 147.4 kB / 334.3 MB, free: 11.93 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.00141/0.3336, allocations: 0.8339 MB / 335.1 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.334, allocations: 187.1 kB / 335.3 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3341, allocations: 80.83 kB / 335.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.3342, allocations: 7.984 kB / 335.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.3345, allocations: 135.3 kB / 335.5 MB, free: 10.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/0.3345, allocations: 0 / 335.5 MB, free: 10.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009835/0.3355, allocations: 403.5 kB / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/0.3357, allocations: 320.3 kB / 336.2 MB, free: 9.809 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.3362, allocations: 433.7 kB / 336.7 MB, free: 9.379 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.3363, allocations: 33.7 kB / 336.7 MB, free: 9.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.3365, allocations: 200.2 kB / 336.9 MB, free: 9.141 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.3366, allocations: 78.86 kB / 337 MB, free: 9.062 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.3366, allocations: 25.7 kB / 337 MB, free: 9.031 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3368, allocations: 350.8 kB / 337.3 MB, free: 8.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3369, allocations: 63.97 kB / 337.4 MB, free: 8.617 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.3372, allocations: 179.9 kB / 337.6 MB, free: 8.398 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.3375, allocations: 175.2 kB / 337.7 MB, free: 8.215 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3375, allocations: 3.938 kB / 337.7 MB, free: 8.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004605/0.338, allocations: 269.9 kB / 338 MB, free: 7.938 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.338, allocations: 11.94 kB / 338 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.338, allocations: 0 / 338 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.3382, allocations: 28.84 kB / 338.1 MB, free: 7.895 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3384, allocations: 55.91 kB / 338.1 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.3399, allocations: 1.456 MB / 339.6 MB, free: 6.242 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.3402, allocations: 31.69 kB / 339.6 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3402, allocations: 8 kB / 339.6 MB, free: 6.203 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.0002085/0.3404, allocations: 165.8 kB / 339.8 MB, free: 6.031 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3405, allocations: 39.53 kB / 339.8 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.3406, allocations: 47.58 kB / 339.8 MB, free: 5.941 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3406, allocations: 4.094 kB / 339.9 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3406, allocations: 3.938 kB / 339.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005257/0.3411, allocations: 0.5751 MB / 340.4 MB, free: 5.254 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.3421, allocations: 0.7078 MB / 341.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3421, allocations: 0 / 341.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.3423, allocations: 55.84 kB / 341.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3424, allocations: 0 / 341.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3424, allocations: 4 kB / 341.2 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3424, allocations: 4 kB / 341.2 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3424, allocations: 0 / 341.2 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.343, allocations: 402.9 kB / 341.6 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.3431, allocations: 136.5 kB / 341.7 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.3432, allocations: 11.98 kB / 341.7 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.3434, allocations: 12 kB / 341.8 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.3435, allocations: 19.92 kB / 341.8 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.3435, allocations: 8.172 kB / 341.8 MB, free: 3.809 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.3438, allocations: 311.1 kB / 342.1 MB, free: 3.512 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3438, allocations: 4.062 kB / 342.1 MB, free: 3.508 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.3442, allocations: 99.84 kB / 342.2 MB, free: 3.41 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.001056/0.3453, allocations: 417.4 kB / 342.6 MB, free: 3 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.346, allocations: 303.1 kB / 342.9 MB, free: 2.691 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.346, allocations: 192 / 342.9 MB, free: 2.691 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.3462, allocations: 99.62 kB / 343 MB, free: 2.594 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.3468, allocations: 93.42 kB / 343.1 MB, free: 2.5 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3484, allocations: 0.972 MB / 344 MB, free: 1.504 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3488, allocations: 0.7963 MB / 344.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.3489, allocations: 42.95 kB / 344.9 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.349, allocations: 31.44 kB / 344.9 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of SimCode: time 3.3e-07/0.349, allocations: 0 / 344.9 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of Templates: time 0.01104/0.3601, allocations: 5.729 MB / 350.6 MB, free: 10.87 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)