Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001034/0.001034, allocations: 184.3 kB / 13.65 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.466/1.466, allocations: 194.3 MB / 208.4 MB, free: 6.629 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001513/0.001514, allocations: 114.2 kB / 253.5 MB, free: 9.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.301e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06777/0.06781, allocations: 44.51 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.3518, allocations: 76.24 MB / 425.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.352, allocations: 73.61 kB / 425.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02136/0.3734, allocations: 9.503 MB / 435.3 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3734, allocations: 7.906 kB / 435.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.3735, allocations: 9 kB / 435.3 MB, free: 7.145 MB / 298.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.0009191/0.3744, allocations: 0.7172 MB / 436 MB, free: 6.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3744, allocations: 10.97 kB / 436 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.3745, allocations: 61.83 kB / 436.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.375, allocations: 389.3 kB / 436.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-05/0.3751, allocations: 63.09 kB / 436.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.3751, allocations: 32.03 kB / 436.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.3756, allocations: 439.4 kB / 437 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3757, allocations: 0 / 437 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.3757, allocations: 18.5 kB / 437 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3757, allocations: 9.172 kB / 437 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.3762, allocations: 264.5 kB / 437.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.3777, allocations: 1.255 MB / 438.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.3782, allocations: 373 kB / 438.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.3783, allocations: 146.6 kB / 439 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.3784, allocations: 19.05 kB / 439 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3784, allocations: 42.31 kB / 439.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.3784, allocations: 112 / 439.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006184/0.379, allocations: 378.5 kB / 439.4 MB, free: 4.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3791, allocations: 451.9 kB / 439.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.3795, allocations: 386.1 kB / 440.3 MB, free: 4.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3795, allocations: 32.55 kB / 440.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.3796, allocations: 230.9 kB / 440.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.3797, allocations: 127.1 kB / 440.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.3797, allocations: 7.625 kB / 440.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.3798, allocations: 358.3 kB / 441 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3799, allocations: 103.6 kB / 441.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3802, allocations: 253.6 kB / 441.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.3804, allocations: 146.7 kB / 441.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3804, allocations: 0 / 441.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005899/0.381, allocations: 449.2 kB / 441.9 MB, free: 3.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.381, allocations: 33.39 kB / 442 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.381, allocations: 0 / 442 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.3813, allocations: 55.22 kB / 442 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.3817, allocations: 96.69 kB / 442.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.3832, allocations: 2.744 MB / 444.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.3835, allocations: 65.14 kB / 444.9 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.3836, allocations: 7.688 kB / 444.9 MB, free: 0.6523 MB / 298.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 9.291e-05/0.3837, allocations: 130.1 kB / 445.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.3838, allocations: 49.94 kB / 445.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.3839, allocations: 54.14 kB / 445.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3839, allocations: 3.844 kB / 445.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3839, allocations: 4 kB / 445.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005009/0.3844, allocations: 0.6664 MB / 445.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3857, allocations: 0.9598 MB / 446.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3857, allocations: 0 / 446.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.3862, allocations: 99.5 kB / 446.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3862, allocations: 4 kB / 446.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3862, allocations: 11.08 kB / 446.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3862, allocations: 0 / 446.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3862, allocations: 4 kB / 446.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.387, allocations: 0.5583 MB / 447.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3871, allocations: 130.5 kB / 447.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.3872, allocations: 14.5 kB / 447.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.3875, allocations: 37.11 kB / 447.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.3876, allocations: 22.91 kB / 447.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.3876, allocations: 7 kB / 447.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003482/0.3879, allocations: 310.8 kB / 448 MB, free: 14.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.388, allocations: 0 / 448 MB, free: 14.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005027/0.3885, allocations: 150 kB / 448.1 MB, free: 14.14 MB / 314.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.000199/0.3887, allocations: 120 kB / 448.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009298/0.3896, allocations: 0.5761 MB / 448.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3896, allocations: 0 / 448.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.3899, allocations: 147.8 kB / 449 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.3905, allocations: 120 kB / 449.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3921, allocations: 0.6344 MB / 449.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3926, allocations: 0.8316 MB / 450.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003226/0.393, allocations: 72.16 kB / 450.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3931, allocations: 47 kB / 450.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3931, allocations: 0 / 450.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of Templates: time 0.01367/0.4068, allocations: 7.695 MB / 458.4 MB, free: 4.086 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)