Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001012/0.001011, allocations: 169.8 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.361/1.361, 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.001803/0.001803, allocations: 106.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.144e-05, allocations: 0 / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4431, allocations: 66 MB / 373.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4435, allocations: 66.41 kB / 373.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004943/0.4484, allocations: 1.771 MB / 375.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.4485, allocations: 4 kB / 375.5 MB, free: 8.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.4485, allocations: 3.938 kB / 375.5 MB, free: 8.625 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003973/0.4489, allocations: 354.9 kB / 375.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4489, allocations: 8.031 kB / 375.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.4491, allocations: 11.89 kB / 375.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.4492, allocations: 167 kB / 376 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.4493, allocations: 11.42 kB / 376 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.4493, allocations: 15.48 kB / 376 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.4495, allocations: 85.73 kB / 376.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4495, allocations: 0 / 376.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4496, allocations: 7.25 kB / 376.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4496, allocations: 0 / 376.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.4497, allocations: 50.86 kB / 376.2 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.4504, allocations: 406.9 kB / 376.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.4506, allocations: 64.88 kB / 376.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.4506, allocations: 34 kB / 376.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.4507, allocations: 4 kB / 376.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4507, allocations: 30.56 kB / 376.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4507, allocations: 3.938 kB / 376.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001938/0.4509, allocations: 68.44 kB / 376.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.451, allocations: 55.56 kB / 376.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.4511, allocations: 103.9 kB / 376.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4511, allocations: 29.58 kB / 377 MB, free: 7.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.4512, allocations: 107.8 kB / 377.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.4512, allocations: 23.47 kB / 377.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.4512, allocations: 3.125 kB / 377.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4514, allocations: 322.7 kB / 377.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.4514, allocations: 23.31 kB / 377.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.4515, allocations: 37.33 kB / 377.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/0.4516, allocations: 34.11 kB / 377.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4516, allocations: 3.938 kB / 377.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001411/0.4517, allocations: 103.5 kB / 377.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4518, allocations: 4 kB / 377.6 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4518, allocations: 4.062 kB / 377.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4518, allocations: 4 kB / 377.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4519, allocations: 23.98 kB / 377.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4519, allocations: 0 / 377.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.452, allocations: 11.53 kB / 377.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.452, allocations: 7.984 kB / 377.7 MB, free: 6.422 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 8.902e-05/0.4521, allocations: 116.3 kB / 377.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.4521, allocations: 0 / 377.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.4522, allocations: 11.94 kB / 377.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4522, allocations: 4 kB / 377.8 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4522, allocations: 0 / 377.8 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4522, allocations: 0 / 377.8 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.4525, allocations: 194.3 kB / 378 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4525, allocations: 0 / 378 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4526, allocations: 27.22 kB / 378 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4526, allocations: 0 / 378 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4526, allocations: 4 kB / 378 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4526, allocations: 3.938 kB / 378 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4526, allocations: 0 / 378 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.4528, allocations: 191.1 kB / 378.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.4529, allocations: 89 kB / 378.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4529, allocations: 2.938 kB / 378.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.453, allocations: 3.984 kB / 378.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.453, allocations: 4 kB / 378.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.453, allocations: 2.562 kB / 378.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.16e-05/0.4531, allocations: 94.91 kB / 378.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4531, allocations: 0 / 378.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.4533, allocations: 23.94 kB / 378.4 MB, free: 5.625 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001423/0.4535, allocations: 98.55 kB / 378.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.4536, allocations: 52.28 kB / 378.6 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4536, allocations: 0 / 378.6 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.25e-05/0.4537, allocations: 30.8 kB / 378.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.4539, allocations: 4 kB / 378.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.4544, allocations: 237.4 kB / 378.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.4547, allocations: 0.7004 MB / 379.5 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.4548, allocations: 15.83 kB / 379.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.4548, allocations: 11.44 kB / 379.6 MB, free: 4.457 MB / 266.7 MB Notification: Performance of SimCode: time 2.234e-06/0.4548, allocations: 0 / 379.6 MB, free: 4.457 MB / 266.7 MB Notification: Performance of Templates: time 0.002745/0.4575, allocations: 0.5735 MB / 380.1 MB, free: 3.895 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1)