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.001022/0.001023, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001239/0.00124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0005743/0.0005744, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3322, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00181/0.3341, allocations: 1.314 MB / 327.8 MB, free: 388 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.335, allocations: 494.7 kB / 328.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.3351, allocations: 5.031 kB / 328.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.3351, allocations: 9.484 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.3352, allocations: 23.47 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.3354, allocations: 23.98 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3356, allocations: 96.97 kB / 328.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3357, allocations: 29.33 kB / 328.4 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.3358, allocations: 30.02 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.3359, allocations: 34.77 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3359, allocations: 7.719 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-05/0.336, allocations: 14.45 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.336, allocations: 15.92 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.3361, allocations: 45.2 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3362, allocations: 66.98 kB / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3362, allocations: 0 / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3362, allocations: 0 / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3362, allocations: 1.062 kB / 328.7 MB, free: 15.73 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.0005452/0.3368, allocations: 372.2 kB / 329 MB, free: 15.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.3368, allocations: 8.875 kB / 329 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.337, allocations: 10.78 kB / 329 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3372, allocations: 169.4 kB / 329.2 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3372, allocations: 11.39 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.3372, allocations: 5.875 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.3375, allocations: 83.19 kB / 329.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3375, allocations: 1.25 kB / 329.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3375, allocations: 4 kB / 329.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3375, allocations: 6.312 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.3377, allocations: 59.36 kB / 329.4 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.3384, allocations: 390.8 kB / 329.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3386, allocations: 78.67 kB / 329.8 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.3387, allocations: 32.23 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3387, allocations: 1.438 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3387, allocations: 34.55 kB / 329.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3387, allocations: 1.469 kB / 329.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002384/0.339, allocations: 91.14 kB / 330 MB, free: 14.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.339, allocations: 52.84 kB / 330 MB, free: 14.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.3391, allocations: 108.7 kB / 330.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3391, allocations: 30.86 kB / 330.2 MB, free: 14.27 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.3392, allocations: 95.39 kB / 330.3 MB, free: 14.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.3393, allocations: 30.36 kB / 330.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.3393, allocations: 5.438 kB / 330.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3394, allocations: 323.9 kB / 330.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/0.3395, allocations: 15.12 kB / 330.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.3395, allocations: 53.08 kB / 330.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.3396, allocations: 30.72 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3396, allocations: 0 / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001576/0.3398, allocations: 104.9 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3398, allocations: 4.781 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3398, allocations: 1.406 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3398, allocations: 1.375 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.34, allocations: 27.2 kB / 330.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.34, allocations: 1 kB / 330.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.34, allocations: 13.12 kB / 330.9 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3401, allocations: 2.219 kB / 330.9 MB, free: 13.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.303e-05/0.3402, allocations: 122.3 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3402, allocations: 10.03 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.3402, allocations: 9.844 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3402, allocations: 1.156 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3403, allocations: 5.281 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3403, allocations: 3.984 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3405, allocations: 202.2 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3405, allocations: 0 / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.3406, allocations: 20.11 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3406, allocations: 1.031 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3406, allocations: 1 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3406, allocations: 0 / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3406, allocations: 1.469 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.3409, allocations: 198.2 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.3409, allocations: 87.39 kB / 331.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.341, allocations: 1.219 kB / 331.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.341, allocations: 1.031 kB / 331.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.3411, allocations: 14.86 kB / 331.5 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3411, allocations: 1.219 kB / 331.5 MB, free: 13 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.3411, allocations: 80.44 kB / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3411, allocations: 0 / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3414, allocations: 22.91 kB / 331.6 MB, free: 12.92 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 (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.0001232/0.3415, allocations: 99.2 kB / 331.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3417, allocations: 58.23 kB / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3417, allocations: 0 / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.3418, allocations: 23.36 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3421, allocations: 14.25 kB / 331.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.3428, allocations: 390.7 kB / 332.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3431, allocations: 0.6924 MB / 332.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.3432, allocations: 7 kB / 332.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3432, allocations: 10.75 kB / 332.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3432, allocations: 0 / 332.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of Templates: time 0.002957/0.3462, allocations: 0.5703 MB / 333.5 MB, free: 11.45 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)