Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001411/0.001411, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.231/1.231, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001584/0.001584, allocations: 121.1 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003127, allocations: 4 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09074, allocations: 44.51 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2816/0.3724, allocations: 71.41 MB / 426.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3726, allocations: 68.09 kB / 426.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004074/0.3767, allocations: 1.764 MB / 428.3 MB, free: 16.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3767, allocations: 3.938 kB / 428.3 MB, free: 16.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3767, allocations: 0 / 428.3 MB, free: 16.57 MB / 314.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.0003045/0.3771, allocations: 363.1 kB / 428.7 MB, free: 16.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3771, allocations: 8.531 kB / 428.7 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3772, allocations: 19.28 kB / 428.7 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.656e-05/0.3773, allocations: 171 kB / 428.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3774, allocations: 7.062 kB / 428.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.3774, allocations: 8 kB / 428.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3776, allocations: 88.55 kB / 428.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3776, allocations: 0 / 428.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3776, allocations: 2.812 kB / 429 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3776, allocations: 11.77 kB / 429 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.3777, allocations: 48.97 kB / 429 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.3783, allocations: 401.5 kB / 429.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.3784, allocations: 70.22 kB / 429.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.3784, allocations: 0 / 429.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.3784, allocations: 35.81 kB / 429.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.3784, allocations: 0 / 429.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001913/0.3786, allocations: 90.97 kB / 429.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.3787, allocations: 63.52 kB / 429.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.3787, allocations: 96.62 kB / 429.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.3788, allocations: 28.77 kB / 429.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.3788, allocations: 102.9 kB / 429.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3788, allocations: 33.17 kB / 429.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.3788, allocations: 3.938 kB / 429.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.3789, allocations: 314.8 kB / 430.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.3789, allocations: 22.8 kB / 430.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.379, allocations: 44.31 kB / 430.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.379, allocations: 35.88 kB / 430.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3791, allocations: 0 / 430.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001206/0.3792, allocations: 100 kB / 430.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3792, allocations: 8 kB / 430.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3792, allocations: 0 / 430.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3792, allocations: 4.062 kB / 430.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3794, allocations: 27.61 kB / 430.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3794, allocations: 4 kB / 430.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.3794, allocations: 11.89 kB / 430.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3794, allocations: 3.438 kB / 430.5 MB, free: 14.39 MB / 314.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 () * Number of clocked 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 6.665e-05/0.3795, allocations: 124.7 kB / 430.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3795, allocations: 7.906 kB / 430.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.3796, allocations: 7.875 kB / 430.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3796, allocations: 8 kB / 430.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3796, allocations: 0 / 430.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3796, allocations: 0 / 430.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.3798, allocations: 192.1 kB / 430.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3798, allocations: 0 / 430.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.3799, allocations: 16.84 kB / 430.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3799, allocations: 2.312 kB / 430.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3799, allocations: 7.984 kB / 430.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3799, allocations: 0 / 430.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3799, allocations: 2.656 kB / 430.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3801, allocations: 199.2 kB / 431 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3801, allocations: 81.09 kB / 431.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3801, allocations: 3.375 kB / 431.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.3802, allocations: 7.406 kB / 431.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.3802, allocations: 1.969 kB / 431.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3802, allocations: 7.938 kB / 431.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.29e-05/0.3802, allocations: 87.02 kB / 431.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3802, allocations: 4.062 kB / 431.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.3805, allocations: 27.84 kB / 431.3 MB, free: 13.6 MB / 314.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 () * Number of clocked 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 9.033e-05/0.3806, allocations: 94.62 kB / 431.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.3807, allocations: 61.45 kB / 431.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3807, allocations: 0 / 431.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.3807, allocations: 29.42 kB / 431.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.3809, allocations: 9.438 kB / 431.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.3815, allocations: 376.3 kB / 431.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3816, allocations: 0.7011 MB / 432.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.68e-05/0.3816, allocations: 0 / 432.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.3817, allocations: 11.44 kB / 432.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3817, allocations: 0 / 432.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Templates: time 0.002308/0.384, allocations: 0.5711 MB / 433.1 MB, free: 11.79 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1)