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.008187/0.008187, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.133/1.133, allocations: 170.8 MB / 186.6 MB, free: 0.9727 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.001623/0.001623, allocations: 114.6 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.179, allocations: 38.77 MB / 312.9 MB, free: 38.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0817/0.2607, allocations: 70.99 MB / 383.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.261, allocations: 79.95 kB / 384 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02531/0.2863, allocations: 9.494 MB / 393.5 MB, free: 9.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2864, allocations: 0 / 393.5 MB, free: 9.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.2864, allocations: 12 kB / 393.5 MB, free: 9.887 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.001426/0.2879, allocations: 0.8039 MB / 394.3 MB, free: 9.027 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2879, allocations: 8.031 kB / 394.3 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.288, allocations: 59.34 kB / 394.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.2886, allocations: 385.7 kB / 394.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.767e-05/0.2887, allocations: 66.7 kB / 394.8 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.2887, allocations: 35.95 kB / 394.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/0.2895, allocations: 496.9 kB / 395.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2896, allocations: 3.906 kB / 395.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.2896, allocations: 16 kB / 395.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2896, allocations: 8 kB / 395.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/0.2905, allocations: 362.4 kB / 395.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.2925, allocations: 1.252 MB / 396.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.2933, allocations: 453.9 kB / 397.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.2934, allocations: 4 kB / 397.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.2934, allocations: 42.52 kB / 397.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.2934, allocations: 0 / 397.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.00162/0.2951, allocations: 0.7694 MB / 398.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.2952, allocations: 452.8 kB / 398.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.2957, allocations: 389.1 kB / 399 MB, free: 3.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.2957, allocations: 33.7 kB / 399 MB, free: 3.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2959, allocations: 232.8 kB / 399.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.296, allocations: 130 kB / 399.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.296, allocations: 8 kB / 399.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2961, allocations: 358.8 kB / 399.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.2965, allocations: 155.9 kB / 399.9 MB, free: 3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.297, allocations: 302 kB / 400.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.2974, allocations: 206.4 kB / 400.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2975, allocations: 0 / 400.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009839/0.2984, allocations: 0.5082 MB / 400.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.2985, allocations: 33.64 kB / 400.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2985, allocations: 4 kB / 400.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.2987, allocations: 49.69 kB / 401 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.2992, allocations: 95.88 kB / 401.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.3018, allocations: 2.756 MB / 403.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.3023, allocations: 63.7 kB / 403.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.3023, allocations: 15.94 kB / 403.9 MB, free: 14.62 MB / 314.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.0002522/0.3026, allocations: 173.8 kB / 404.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.3027, allocations: 51.38 kB / 404.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3028, allocations: 52.61 kB / 404.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3028, allocations: 8 kB / 404.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3028, allocations: 0 / 404.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/0.3039, allocations: 0.7625 MB / 405 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3056, allocations: 1.056 MB / 406 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3056, allocations: 0 / 406 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.3061, allocations: 95.88 kB / 406.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3061, allocations: 7.984 kB / 406.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.3062, allocations: 4 kB / 406.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3062, allocations: 8 kB / 406.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3062, allocations: 0 / 406.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3074, allocations: 0.7027 MB / 406.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.3076, allocations: 124.5 kB / 407 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.3076, allocations: 15.98 kB / 407 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.308, allocations: 36.05 kB / 407 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.308, allocations: 27.89 kB / 407 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3081, allocations: 12 kB / 407 MB, free: 11.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003282/0.3084, allocations: 311.1 kB / 407.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3084, allocations: 0 / 407.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004541/0.3089, allocations: 139.8 kB / 407.5 MB, free: 10.83 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 () * 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.0001824/0.3091, allocations: 127 kB / 407.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3102, allocations: 0.6644 MB / 408.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3103, allocations: 4 kB / 408.3 MB, free: 9.992 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3107, allocations: 195.7 kB / 408.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.3113, allocations: 125.8 kB / 408.6 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3129, allocations: 1.112 MB / 409.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3133, allocations: 0.8315 MB / 410.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.3135, allocations: 64.17 kB / 410.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3136, allocations: 43.42 kB / 410.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of SimCode: time 2.856e-06/0.3137, allocations: 0 / 410.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of Templates: time 0.01312/0.3268, allocations: 7.578 MB / 418.2 MB, free: 40 kB / 314.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)