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.001107/0.001107, allocations: 183.5 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.689/1.689, allocations: 194.4 MB / 203.1 MB, free: 13.01 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.001713/0.001713, allocations: 116.6 kB / 248.1 MB, free: 16 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.386e-05, allocations: 0 / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09253, allocations: 44.49 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.4936, allocations: 75.58 MB / 418.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.4939, allocations: 74.14 kB / 418.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02127/0.5152, allocations: 9.419 MB / 427.6 MB, free: 8.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5152, allocations: 0 / 427.6 MB, free: 8.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.5152, allocations: 11.19 kB / 427.6 MB, free: 8.039 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.0009826/0.5162, allocations: 0.7122 MB / 428.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5163, allocations: 7.562 kB / 428.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.738e-05/0.5164, allocations: 62.31 kB / 428.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.5169, allocations: 392.1 kB / 428.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/0.517, allocations: 53.47 kB / 428.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.517, allocations: 18.97 kB / 428.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003939/0.5174, allocations: 250.1 kB / 429.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.5179, allocations: 396.1 kB / 429.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5179, allocations: 0 / 429.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.5179, allocations: 4 kB / 429.5 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.518, allocations: 7.688 kB / 429.5 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.5197, allocations: 1.183 MB / 430.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.5201, allocations: 352.3 kB / 431 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.5203, allocations: 138.8 kB / 431.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.5203, allocations: 11.75 kB / 431.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5204, allocations: 42.09 kB / 431.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.5204, allocations: 0 / 431.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006235/0.521, allocations: 341 kB / 431.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.5211, allocations: 451.6 kB / 432 MB, free: 5.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5214, allocations: 338.8 kB / 432.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.5214, allocations: 33.52 kB / 432.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5216, allocations: 235.6 kB / 432.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.5216, allocations: 126.7 kB / 432.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.5217, allocations: 3.719 kB / 432.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.5217, allocations: 349 kB / 433.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.5219, allocations: 96 kB / 433.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.5221, allocations: 246.3 kB / 433.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.5223, allocations: 119.2 kB / 433.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5223, allocations: 3.938 kB / 433.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005388/0.5228, allocations: 384 kB / 433.9 MB, free: 4.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.5229, allocations: 29.55 kB / 433.9 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5229, allocations: 7.781 kB / 433.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.5231, allocations: 53.09 kB / 434 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.5235, allocations: 96.69 kB / 434.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.525, allocations: 2.632 MB / 436.7 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.5253, allocations: 54.5 kB / 436.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.5254, allocations: 11.12 kB / 436.8 MB, free: 1.781 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0001781/0.5256, allocations: 120.5 kB / 436.9 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.5256, allocations: 50.25 kB / 436.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.5257, allocations: 45.72 kB / 437 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.5257, allocations: 3.844 kB / 437 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5257, allocations: 0 / 437 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004354/0.5262, allocations: 0.6453 MB / 437.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.5272, allocations: 0.8815 MB / 438.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5272, allocations: 7.812 kB / 438.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.5276, allocations: 92.75 kB / 438.6 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5277, allocations: 3.844 kB / 438.6 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.5277, allocations: 3.984 kB / 438.6 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5277, allocations: 0 / 438.6 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5277, allocations: 3.969 kB / 438.6 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.5283, allocations: 0.5277 MB / 439.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.5284, allocations: 127.7 kB / 439.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.5285, allocations: 192 / 439.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.5287, allocations: 27.34 kB / 439.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.5288, allocations: 26.7 kB / 439.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.5289, allocations: 19.3 kB / 439.4 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000263/0.5291, allocations: 269.6 kB / 439.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5291, allocations: 0 / 439.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.5296, allocations: 139.1 kB / 439.8 MB, free: 16.09 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.0002057/0.5298, allocations: 102.2 kB / 439.9 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007023/0.5305, allocations: 0.5427 MB / 440.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5305, allocations: 3.938 kB / 440.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.5307, allocations: 137.5 kB / 440.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.5312, allocations: 121.8 kB / 440.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5324, allocations: 0.6319 MB / 441.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.5328, allocations: 0.8332 MB / 442.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.533, allocations: 61.89 kB / 442.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.5331, allocations: 41.62 kB / 442.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5331, allocations: 0 / 442.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of Templates: time 0.01117/0.5443, allocations: 6.735 MB / 449 MB, free: 11.14 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)