Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001328/0.001328, allocations: 169.9 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.412/1.412, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001481/0.001481, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.789e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06429/0.06433, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/0.3212, allocations: 71.84 MB / 379.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.3214, allocations: 64.28 kB / 379.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04144/0.3629, allocations: 15.65 MB / 395.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3629, allocations: 0 / 395.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.709e-05/0.363, allocations: 20.03 kB / 395.2 MB, free: 7.234 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001768/0.3648, allocations: 1.049 MB / 396.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.173e-05/0.3648, allocations: 8.031 kB / 396.3 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.365, allocations: 102.9 kB / 396.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.3658, allocations: 0.5192 MB / 396.9 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.3661, allocations: 148.4 kB / 397 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.3662, allocations: 61.77 kB / 397.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3672, allocations: 0.7662 MB / 397.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3673, allocations: 0 / 397.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.3673, allocations: 26.12 kB / 397.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3674, allocations: 16 kB / 397.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.3682, allocations: 495.3 kB / 398.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.3712, allocations: 2.041 MB / 400.4 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3723, allocations: 0.9126 MB / 401.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.3727, allocations: 327.2 kB / 401.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/0.3728, allocations: 28.62 kB / 401.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3729, allocations: 50.61 kB / 401.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.064e-06/0.3729, allocations: 0 / 401.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.002353/0.3752, allocations: 0.8773 MB / 402.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003953/0.3757, allocations: 0.8237 MB / 403.4 MB, free: 68 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.3764, allocations: 0.5251 MB / 404 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.3765, allocations: 54.64 kB / 404 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.3767, allocations: 317.9 kB / 404.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.377, allocations: 248.2 kB / 404.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.377, allocations: 15.38 kB / 404.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3772, allocations: 386.1 kB / 405 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.3777, allocations: 221.1 kB / 405.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.3784, allocations: 499 kB / 405.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.379, allocations: 351.4 kB / 406 MB, free: 14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.379, allocations: 4 kB / 406 MB, free: 14 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002518/0.3815, allocations: 1.02 MB / 407 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.3816, allocations: 91.28 kB / 407.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3816, allocations: 0 / 407.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.3822, allocations: 210.8 kB / 407.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/0.3829, allocations: 158.3 kB / 407.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.3892, allocations: 6.206 MB / 413.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008423/0.3901, allocations: 111 kB / 413.8 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.3901, allocations: 31.73 kB / 413.8 MB, free: 6.461 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.3903, allocations: 154.9 kB / 414 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3905, allocations: 83.06 kB / 414 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.3907, allocations: 87.23 kB / 414.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.3907, allocations: 12 kB / 414.1 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3907, allocations: 0 / 414.1 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001905/0.3926, allocations: 1.179 MB / 415.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.3958, allocations: 1.838 MB / 417.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3958, allocations: 4 kB / 417.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/0.3965, allocations: 151.8 kB / 417.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/0.3969, allocations: 162.5 kB / 417.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.397, allocations: 15.98 kB / 417.5 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/0.4024, allocations: 4.782 MB / 422.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4024, allocations: 240 / 422.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.405, allocations: 1.281 MB / 423.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.4053, allocations: 164.1 kB / 423.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.4054, allocations: 20 kB / 423.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.4059, allocations: 63.86 kB / 423.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.4061, allocations: 64.69 kB / 423.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.4062, allocations: 20.12 kB / 423.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005605/0.4067, allocations: 427.2 kB / 424.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4067, allocations: 0 / 424.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008383/0.4076, allocations: 287.6 kB / 424.6 MB, free: 11.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.4078, allocations: 131.1 kB / 424.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.4095, allocations: 1.231 MB / 425.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4095, allocations: 4 kB / 425.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.4105, allocations: 0.7306 MB / 426.7 MB, free: 9.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.4113, allocations: 201.2 kB / 426.9 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.4136, allocations: 1.261 MB / 428.1 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.4141, allocations: 0.9478 MB / 429.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.4145, allocations: 94.05 kB / 429.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.4147, allocations: 63.42 kB / 429.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4147, allocations: 0 / 429.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of Templates: time 0.02451/0.4392, allocations: 15.72 MB / 444.9 MB, free: 6.73 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)