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.001113/0.001113, allocations: 180.9 kB / 16.39 MB, free: 5.762 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.321/1.321, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001538/0.001538, allocations: 106.8 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0715/0.07181, allocations: 44.49 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2443/0.3161, allocations: 76.32 MB / 431.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.3163, allocations: 77.2 kB / 431.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02117/0.3375, allocations: 9.542 MB / 441 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3376, allocations: 0 / 441 MB, free: 5.293 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.212e-05/0.3376, allocations: 8 kB / 441 MB, free: 5.285 MB / 314.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.001346/0.339, allocations: 0.7937 MB / 441.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.339, allocations: 12.03 kB / 441.8 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3392, allocations: 60.38 kB / 441.9 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.3397, allocations: 388.9 kB / 442.2 MB, free: 4.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.3398, allocations: 60.28 kB / 442.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.3399, allocations: 34.19 kB / 442.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.3406, allocations: 488.3 kB / 442.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3406, allocations: 0 / 442.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3406, allocations: 18.25 kB / 442.8 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3407, allocations: 8 kB / 442.8 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.3414, allocations: 374.6 kB / 443.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.3431, allocations: 1.258 MB / 444.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.3438, allocations: 448.9 kB / 444.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3438, allocations: 19.36 kB / 444.9 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3438, allocations: 37.69 kB / 445 MB, free: 1.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.3439, allocations: 0 / 445 MB, free: 1.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001399/0.3453, allocations: 0.7693 MB / 445.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.3454, allocations: 444.9 kB / 446.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.3457, allocations: 390 kB / 446.5 MB, free: 292 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.3458, allocations: 41.14 kB / 446.6 MB, free: 252 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3459, allocations: 228.7 kB / 446.8 MB, free: 20 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.346, allocations: 126.1 kB / 446.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.346, allocations: 8 kB / 446.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3462, allocations: 354.8 kB / 447.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.3465, allocations: 159.9 kB / 447.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.347, allocations: 290.2 kB / 447.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.3475, allocations: 212 kB / 447.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3475, allocations: 0 / 447.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001048/0.3485, allocations: 0.5016 MB / 448.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.3486, allocations: 30.58 kB / 448.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3486, allocations: 7.984 kB / 448.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.3488, allocations: 49.7 kB / 448.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.3492, allocations: 91.88 kB / 448.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.3517, allocations: 2.77 MB / 451.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.3522, allocations: 67.56 kB / 451.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.3522, allocations: 12 kB / 451.5 MB, free: 11.01 MB / 330.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 () * Number of clocked 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.000284/0.3525, allocations: 173.8 kB / 451.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.3526, allocations: 51.38 kB / 451.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3528, allocations: 54.67 kB / 451.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3528, allocations: 4 kB / 451.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3528, allocations: 0 / 451.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000971/0.3538, allocations: 0.7586 MB / 452.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.3555, allocations: 1.059 MB / 453.6 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3555, allocations: 4 kB / 453.6 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.356, allocations: 95.88 kB / 453.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.356, allocations: 0 / 453.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.356, allocations: 11.98 kB / 453.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.356, allocations: 3.953 kB / 453.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.356, allocations: 1.25 kB / 453.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3573, allocations: 0.7059 MB / 454.4 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.3575, allocations: 132.5 kB / 454.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.3575, allocations: 8.375 kB / 454.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.3579, allocations: 35.97 kB / 454.5 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.3579, allocations: 27.91 kB / 454.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.358, allocations: 8 kB / 454.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003315/0.3583, allocations: 311.1 kB / 454.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3583, allocations: 4 kB / 454.9 MB, free: 7.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004469/0.3588, allocations: 143.8 kB / 455 MB, free: 7.227 MB / 330.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 () * Number of clocked 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.000196/0.359, allocations: 123.2 kB / 455.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3602, allocations: 0.6694 MB / 455.8 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.3603, allocations: 5.875 kB / 455.8 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.3607, allocations: 195.8 kB / 456 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.3613, allocations: 121.5 kB / 456.1 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3633, allocations: 1.111 MB / 457.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3638, allocations: 0.8277 MB / 458.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.3641, allocations: 64.22 kB / 458.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3642, allocations: 43.44 kB / 458.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3642, allocations: 0 / 458.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of Templates: time 0.01341/0.3776, allocations: 7.667 MB / 465.8 MB, free: 12.41 MB / 346.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)