Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 191.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3493, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.004321/0.3537, allocations: 1.68 MB / 326.5 MB, free: 0.6172 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.355, allocations: 0.5185 MB / 327 MB, free: 208 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3551, allocations: 1.219 kB / 327 MB, free: 208 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 8.636e-05/0.3552, allocations: 5.406 kB / 327.1 MB, free: 204 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3554, allocations: 31.72 kB / 327.1 MB, free: 176 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3557, allocations: 24.06 kB / 327.1 MB, free: 156 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3559, allocations: 97.7 kB / 327.2 MB, free: 100 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.3561, allocations: 27.92 kB / 327.2 MB, free: 88 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.3562, allocations: 40.27 kB / 327.3 MB, free: 64 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.3563, allocations: 46.33 kB / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3563, allocations: 6.594 kB / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.3564, allocations: 14.56 kB / 327.3 MB, free: 28 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.3564, allocations: 19.58 kB / 327.4 MB, free: 12 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3566, allocations: 44.25 kB / 327.4 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.3568, allocations: 101.4 kB / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3568, allocations: 0 / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3568, allocations: 1.125 kB / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3568, allocations: 0 / 327.5 MB, free: 15.91 MB / 270.1 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.000632/0.3575, allocations: 385.2 kB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3575, allocations: 9 kB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.3577, allocations: 19.81 kB / 327.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.358, allocations: 166.8 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.358, allocations: 3.875 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.3581, allocations: 14.47 kB / 328.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.3583, allocations: 91.69 kB / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3583, allocations: 0 / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3583, allocations: 8.938 kB / 328.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3583, allocations: 2.062 kB / 328.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3585, allocations: 48.81 kB / 328.2 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.3593, allocations: 401.5 kB / 328.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3594, allocations: 69.56 kB / 328.7 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.3595, allocations: 32.72 kB / 328.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.3595, allocations: 1.469 kB / 328.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3595, allocations: 43.94 kB / 328.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3596, allocations: 0 / 328.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002159/0.3598, allocations: 87.98 kB / 328.9 MB, free: 14.65 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3598, allocations: 56.55 kB / 328.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.3599, allocations: 105.3 kB / 329 MB, free: 14.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3599, allocations: 27.11 kB / 329 MB, free: 14.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.36, allocations: 106.3 kB / 329.1 MB, free: 14.34 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.36, allocations: 27.17 kB / 329.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.3601, allocations: 29.5 kB / 329.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.3602, allocations: 321.6 kB / 329.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.3602, allocations: 14.97 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.3603, allocations: 53.66 kB / 329.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.3604, allocations: 66.09 kB / 329.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3604, allocations: 0 / 329.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001489/0.3606, allocations: 100.1 kB / 329.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3606, allocations: 5.531 kB / 329.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3606, allocations: 1.25 kB / 329.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3606, allocations: 9.188 kB / 329.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3607, allocations: 31.83 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3608, allocations: 5.031 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.3608, allocations: 8.219 kB / 329.8 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3608, allocations: 3.406 kB / 329.8 MB, free: 13.78 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/0.3609, allocations: 118.1 kB / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.361, allocations: 2.531 kB / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.361, allocations: 13.45 kB / 329.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.361, allocations: 8.969 kB / 329.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.361, allocations: 0 / 329.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.361, allocations: 5.188 kB / 329.9 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3612, allocations: 194.5 kB / 330.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3612, allocations: 7.922 kB / 330.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.3613, allocations: 15 kB / 330.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3614, allocations: 1.125 kB / 330.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3614, allocations: 5 kB / 330.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3614, allocations: 5.062 kB / 330.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3614, allocations: 3.984 kB / 330.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3616, allocations: 183.8 kB / 330.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.3616, allocations: 83.36 kB / 330.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3617, allocations: 5.078 kB / 330.4 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.3617, allocations: 9.375 kB / 330.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.3618, allocations: 6.094 kB / 330.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3618, allocations: 6.312 kB / 330.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.3618, allocations: 88.55 kB / 330.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3618, allocations: 4.062 kB / 330.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.3621, allocations: 17.78 kB / 330.6 MB, free: 13.03 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.522e-05/0.3622, allocations: 95.88 kB / 330.7 MB, free: 12.94 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.3624, allocations: 64.2 kB / 330.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3624, allocations: 0 / 330.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.3624, allocations: 26.48 kB / 330.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3627, allocations: 3.375 kB / 330.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.3633, allocations: 355.8 kB / 331.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3636, allocations: 0.6947 MB / 331.8 MB, free: 11.9 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.3637, allocations: 11.02 kB / 331.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3637, allocations: 10.69 kB / 331.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3637, allocations: 0 / 331.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of Templates: time 0.002992/0.3667, allocations: 0.6107 MB / 332.4 MB, free: 11.58 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1)