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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001504/0.001504, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.627/1.627, allocations: 205.1 MB / 222 MB, free: 4.738 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.001243/0.001243, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 46.64 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002887/0.3096, allocations: 1.674 MB / 326.4 MB, free: 0.6055 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.3106, allocations: 0.5139 MB / 326.9 MB, free: 200 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.3107, allocations: 1.031 kB / 326.9 MB, free: 200 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 6.755e-05/0.3108, allocations: 10.05 kB / 326.9 MB, free: 192 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.3109, allocations: 31.39 kB / 326.9 MB, free: 164 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.3111, allocations: 23.94 kB / 326.9 MB, free: 144 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3112, allocations: 92.03 kB / 327 MB, free: 92 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3114, allocations: 31.89 kB / 327.1 MB, free: 72 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.3114, allocations: 37.02 kB / 327.1 MB, free: 52 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.3115, allocations: 40.11 kB / 327.1 MB, free: 24 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3116, allocations: 6.875 kB / 327.1 MB, free: 24 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.3117, allocations: 13.09 kB / 327.1 MB, free: 20 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3117, allocations: 18.67 kB / 327.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.3118, allocations: 36.16 kB / 327.2 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.312, allocations: 100.7 kB / 327.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.312, allocations: 0 / 327.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.312, allocations: 1.344 kB / 327.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.312, allocations: 0 / 327.3 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.0006681/0.3127, allocations: 376.6 kB / 327.7 MB, free: 15.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.3128, allocations: 9.938 kB / 327.7 MB, free: 15.53 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.313, allocations: 11.31 kB / 327.7 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3131, allocations: 179 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3132, allocations: 7.156 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.3132, allocations: 13.97 kB / 327.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3134, allocations: 89.59 kB / 328 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3135, allocations: 0 / 328 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3135, allocations: 1.375 kB / 328 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3135, allocations: 1.594 kB / 328 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3136, allocations: 52.22 kB / 328 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.3145, allocations: 404.9 kB / 328.4 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3146, allocations: 70.03 kB / 328.5 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.3147, allocations: 41.44 kB / 328.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3147, allocations: 1.188 kB / 328.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3148, allocations: 38.56 kB / 328.6 MB, free: 14.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3148, allocations: 1.062 kB / 328.6 MB, free: 14.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002466/0.315, allocations: 91.09 kB / 328.7 MB, free: 14.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3151, allocations: 53.72 kB / 328.7 MB, free: 14.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.3152, allocations: 112.8 kB / 328.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3152, allocations: 26.92 kB / 328.8 MB, free: 14.44 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.3153, allocations: 107.3 kB / 329 MB, free: 14.33 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3153, allocations: 27.08 kB / 329 MB, free: 14.31 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3154, allocations: 28.91 kB / 329 MB, free: 14.28 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3155, allocations: 317.1 kB / 329.3 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.3156, allocations: 23.41 kB / 329.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.3156, allocations: 41.28 kB / 329.4 MB, free: 13.92 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3158, allocations: 77.72 kB / 329.5 MB, free: 13.86 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3158, allocations: 0 / 329.5 MB, free: 13.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000191/0.316, allocations: 105.8 kB / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.316, allocations: 5.188 kB / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.316, allocations: 0 / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.316, allocations: 9.094 kB / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3162, allocations: 24.2 kB / 329.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3162, allocations: 2.344 kB / 329.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/0.3163, allocations: 10.75 kB / 329.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3163, allocations: 7.75 kB / 329.6 MB, free: 13.77 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.549e-05/0.3164, allocations: 113.8 kB / 329.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.3164, allocations: 2.281 kB / 329.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.3165, allocations: 13.31 kB / 329.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3165, allocations: 9.266 kB / 329.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3165, allocations: 1.312 kB / 329.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3165, allocations: 0 / 329.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.3167, allocations: 194.2 kB / 329.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3167, allocations: 3.984 kB / 329.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3168, allocations: 20.91 kB / 330 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3168, allocations: 0 / 330 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3168, allocations: 1.5 kB / 330 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3169, allocations: 3.938 kB / 330 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3169, allocations: 0 / 330 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.3171, allocations: 192.4 kB / 330.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.3172, allocations: 82.17 kB / 330.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3172, allocations: 1.438 kB / 330.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.3173, allocations: 14.52 kB / 330.3 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.3173, allocations: 9.234 kB / 330.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.3173, allocations: 6.75 kB / 330.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.3174, allocations: 83.3 kB / 330.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3174, allocations: 0 / 330.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3176, allocations: 23 kB / 330.4 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 0.0001298/0.3178, allocations: 95.62 kB / 330.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.318, allocations: 66.61 kB / 330.5 MB, free: 12.9 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.318, allocations: 0 / 330.5 MB, free: 12.9 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.318, allocations: 23.55 kB / 330.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3184, allocations: 7.406 kB / 330.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/0.3193, allocations: 347.3 kB / 330.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.3197, allocations: 0.6914 MB / 331.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.3198, allocations: 7.266 kB / 331.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.3198, allocations: 11.06 kB / 331.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3198, allocations: 4 kB / 331.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of Templates: time 0.003114/0.3229, allocations: 0.5924 MB / 332.2 MB, free: 11.59 MB / 270.1 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)