Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001393/0.001393, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.339/1.339, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001807/0.001807, allocations: 107.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.638e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09207, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2615/0.3537, allocations: 70.9 MB / 378.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3539, allocations: 68.47 kB / 378.6 MB, free: 5.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.3779, allocations: 9.488 MB / 388.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3779, allocations: 4 kB / 388.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.3779, allocations: 8 kB / 388.1 MB, free: 13.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001132/0.3791, allocations: 0.718 MB / 388.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3791, allocations: 12.03 kB / 388.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.3793, allocations: 63.34 kB / 388.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.3798, allocations: 377.5 kB / 389.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/0.3799, allocations: 60.94 kB / 389.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.38, allocations: 33.7 kB / 389.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.3806, allocations: 437.5 kB / 389.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3806, allocations: 0 / 389.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.3807, allocations: 24.61 kB / 389.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3807, allocations: 8.219 kB / 389.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.3811, allocations: 269.6 kB / 390.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.383, allocations: 1.264 MB / 391.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.3835, allocations: 368 kB / 391.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3837, allocations: 145.2 kB / 391.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.3838, allocations: 15.94 kB / 391.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3838, allocations: 42.44 kB / 391.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.953e-06/0.3838, allocations: 0 / 391.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007173/0.3845, allocations: 369.5 kB / 392.3 MB, free: 9.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.3847, allocations: 448.9 kB / 392.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.3851, allocations: 387.1 kB / 393.1 MB, free: 8.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.3852, allocations: 41.52 kB / 393.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3853, allocations: 229.3 kB / 393.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-05/0.3854, allocations: 121.4 kB / 393.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.3855, allocations: 7.875 kB / 393.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3856, allocations: 354.2 kB / 393.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3858, allocations: 106.1 kB / 393.9 MB, free: 8.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.3861, allocations: 255 kB / 394.2 MB, free: 7.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3864, allocations: 156 kB / 394.3 MB, free: 7.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3864, allocations: 0 / 394.3 MB, free: 7.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007061/0.3871, allocations: 451.7 kB / 394.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.3871, allocations: 29.7 kB / 394.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3871, allocations: 0 / 394.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.3874, allocations: 57.72 kB / 394.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.3878, allocations: 99.78 kB / 394.9 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.39, allocations: 2.732 MB / 397.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.3905, allocations: 63.02 kB / 397.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.3905, allocations: 8 kB / 397.7 MB, free: 4.434 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.3906, allocations: 131.4 kB / 397.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.3907, allocations: 59.38 kB / 397.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.3908, allocations: 53.86 kB / 398 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3908, allocations: 4 kB / 398 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3909, allocations: 0 / 398 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006226/0.3915, allocations: 0.6741 MB / 398.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3927, allocations: 0.9401 MB / 399.6 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3928, allocations: 0 / 399.6 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.3932, allocations: 99.19 kB / 399.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3932, allocations: 0 / 399.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.3933, allocations: 14.55 kB / 399.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3933, allocations: 0 / 399.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3933, allocations: 0 / 399.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.394, allocations: 0.5685 MB / 400.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.3942, allocations: 131.6 kB / 400.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.3942, allocations: 10.19 kB / 400.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.3945, allocations: 42.88 kB / 400.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.3946, allocations: 19.84 kB / 400.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.3947, allocations: 11.98 kB / 400.5 MB, free: 2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003446/0.395, allocations: 307.6 kB / 400.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.395, allocations: 0 / 400.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004775/0.3955, allocations: 143.8 kB / 400.9 MB, free: 1.645 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/0.3957, allocations: 114.6 kB / 401 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009065/0.3966, allocations: 0.5737 MB / 401.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3966, allocations: 3.938 kB / 401.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.3969, allocations: 139.8 kB / 401.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.3974, allocations: 125.5 kB / 401.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.3987, allocations: 0.6534 MB / 402.5 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.3992, allocations: 0.8354 MB / 403.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.3994, allocations: 56.25 kB / 403.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.3995, allocations: 42.48 kB / 403.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3995, allocations: 0 / 403.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.01291/0.4125, allocations: 7.612 MB / 411.1 MB, free: 7.664 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)