Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001865/0.001866, allocations: 170.4 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.441/1.441, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001748/0.001748, allocations: 99.53 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.604e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08341/0.08345, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4123, allocations: 70.3 MB / 377.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4126, allocations: 67.66 kB / 378 MB, free: 5.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02411/0.4367, allocations: 9.036 MB / 387 MB, free: 14.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4368, allocations: 0 / 387 MB, free: 14.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.4368, allocations: 8 kB / 387 MB, free: 14.33 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001019/0.4378, allocations: 0.6622 MB / 387.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4379, allocations: 8.031 kB / 387.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.438, allocations: 59.34 kB / 387.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.4385, allocations: 366.3 kB / 388.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.4387, allocations: 62.44 kB / 388.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.4388, allocations: 39.69 kB / 388.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.4395, allocations: 432 kB / 388.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4395, allocations: 0 / 388.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.4395, allocations: 15.31 kB / 388.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4396, allocations: 8 kB / 388.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.44, allocations: 263.1 kB / 388.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.4419, allocations: 1.224 MB / 390.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.443, allocations: 428.5 kB / 390.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.4432, allocations: 131.2 kB / 390.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.4433, allocations: 4.281 kB / 390.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.4433, allocations: 50.47 kB / 390.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/0.4434, allocations: 0 / 390.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006971/0.4441, allocations: 345.1 kB / 391.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.4443, allocations: 444 kB / 391.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.4448, allocations: 374.9 kB / 391.9 MB, free: 10 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.4448, allocations: 36.89 kB / 391.9 MB, free: 9.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.445, allocations: 218.3 kB / 392.1 MB, free: 9.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/0.4451, allocations: 123.5 kB / 392.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.4451, allocations: 6.281 kB / 392.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4453, allocations: 362.4 kB / 392.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.4455, allocations: 95.38 kB / 392.7 MB, free: 9.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.4458, allocations: 244.7 kB / 392.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.446, allocations: 144 kB / 393.1 MB, free: 8.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.446, allocations: 4 kB / 393.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006829/0.4467, allocations: 423.6 kB / 393.5 MB, free: 8.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.4468, allocations: 33.14 kB / 393.5 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4468, allocations: 4 kB / 393.5 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.4471, allocations: 75.94 kB / 393.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.4475, allocations: 67.89 kB / 393.7 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.45, allocations: 2.752 MB / 396.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.4504, allocations: 55.19 kB / 396.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.4504, allocations: 11.38 kB / 396.5 MB, free: 5.551 MB / 282.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 (37): * Single equations (assignments): 34 * 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.4506, allocations: 127.7 kB / 396.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.4507, allocations: 43.53 kB / 396.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.4508, allocations: 53.2 kB / 396.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4508, allocations: 8.062 kB / 396.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4508, allocations: 0 / 396.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007644/0.4516, allocations: 0.6348 MB / 397.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.453, allocations: 0.8753 MB / 398.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.453, allocations: 0 / 398.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.4534, allocations: 75.52 kB / 398.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.4534, allocations: 8 kB / 398.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.4535, allocations: 3.625 kB / 398.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.4535, allocations: 3.953 kB / 398.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4535, allocations: 4 kB / 398.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.4543, allocations: 0.4947 MB / 398.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.4545, allocations: 131.8 kB / 399 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.4546, allocations: 7.562 kB / 399 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.4548, allocations: 23.55 kB / 399 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.4549, allocations: 27.55 kB / 399 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4549, allocations: 11.44 kB / 399 MB, free: 3.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004251/0.4553, allocations: 300.9 kB / 399.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4554, allocations: 0 / 399.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005932/0.456, allocations: 134.5 kB / 399.4 MB, free: 2.926 MB / 282.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 (33): * Single equations (assignments): 33 * 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.0002125/0.4562, allocations: 118.2 kB / 399.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.4573, allocations: 0.5482 MB / 400.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4573, allocations: 0 / 400.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.4576, allocations: 127.5 kB / 400.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.4582, allocations: 118.7 kB / 400.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4599, allocations: 0.6261 MB / 401 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.4603, allocations: 0.8159 MB / 401.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.4606, allocations: 64.22 kB / 401.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4607, allocations: 35.44 kB / 401.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4607, allocations: 0 / 401.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of Templates: time 0.01435/0.4751, allocations: 7.262 MB / 409.2 MB, free: 9.359 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)