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.004938/0.004938, allocations: 165.1 kB / 15.11 MB, free: 5.977 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.191/1.191, allocations: 170.8 MB / 186.6 MB, free: 1.043 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.001565/0.001564, allocations: 105.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004259, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2431, allocations: 38.76 MB / 312.9 MB, free: 38.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08037/0.3236, allocations: 66.1 MB / 379 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.3239, allocations: 67.97 kB / 379.1 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004959/0.3289, allocations: 1.76 MB / 380.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3289, allocations: 0 / 380.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3289, allocations: 4 kB / 380.8 MB, free: 6.613 MB / 282.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.0003829/0.3293, allocations: 375.1 kB / 381.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3293, allocations: 12.03 kB / 381.2 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3295, allocations: 7.906 kB / 381.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3296, allocations: 178.9 kB / 381.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3296, allocations: 4 kB / 381.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.3297, allocations: 11.95 kB / 381.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3298, allocations: 81.67 kB / 381.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3299, allocations: 0 / 381.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3299, allocations: 4 kB / 381.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.3299, allocations: 0 / 381.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.33, allocations: 55.91 kB / 381.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.3307, allocations: 412.5 kB / 381.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3308, allocations: 70.5 kB / 382 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3308, allocations: 0 / 382 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.3309, allocations: 34.56 kB / 382 MB, free: 5.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3309, allocations: 4 kB / 382 MB, free: 5.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001991/0.3311, allocations: 85.73 kB / 382.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3311, allocations: 55.39 kB / 382.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.3312, allocations: 97.19 kB / 382.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3312, allocations: 29.7 kB / 382.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.3313, allocations: 103.9 kB / 382.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3313, allocations: 31.55 kB / 382.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.3314, allocations: 3.938 kB / 382.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3315, allocations: 318.8 kB / 382.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.3315, allocations: 19.98 kB / 382.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.3316, allocations: 48.06 kB / 382.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/0.3317, allocations: 35.06 kB / 382.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3317, allocations: 0 / 382.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001476/0.3318, allocations: 97.69 kB / 382.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3318, allocations: 8 kB / 383 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3319, allocations: 4.062 kB / 383 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3319, allocations: 4 kB / 383 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.332, allocations: 23.98 kB / 383 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.332, allocations: 4.25 kB / 383 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.3321, allocations: 15.84 kB / 383 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3321, allocations: 4 kB / 383 MB, free: 4.203 MB / 282.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 8.793e-05/0.3322, allocations: 129.2 kB / 383.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3322, allocations: 11.91 kB / 383.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.3323, allocations: 8.375 kB / 383.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3323, allocations: 0 / 383.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3323, allocations: 0 / 383.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3323, allocations: 4 kB / 383.2 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.3325, allocations: 189.6 kB / 383.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3325, allocations: 3.953 kB / 383.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3326, allocations: 16 kB / 383.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3327, allocations: 0 / 383.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3327, allocations: 3.984 kB / 383.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3327, allocations: 7.938 kB / 383.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3327, allocations: 4 kB / 383.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.3329, allocations: 187.4 kB / 383.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.333, allocations: 93.02 kB / 383.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.333, allocations: 0 / 383.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.3331, allocations: 4 kB / 383.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3331, allocations: 4 kB / 383.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3331, allocations: 8.062 kB / 383.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.54e-05/0.3332, allocations: 83.27 kB / 383.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3332, allocations: 0 / 383.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.3334, allocations: 31.84 kB / 383.8 MB, free: 3.344 MB / 282.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 0.0001155/0.3335, allocations: 95.19 kB / 383.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3337, allocations: 55.98 kB / 383.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3337, allocations: 0 / 383.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.3337, allocations: 23.92 kB / 384 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.334, allocations: 14.31 kB / 384 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.3346, allocations: 396.5 kB / 384.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.335, allocations: 0.6965 MB / 385.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.335, allocations: 7.953 kB / 385.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.335, allocations: 11.44 kB / 385.1 MB, free: 2 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.335, allocations: 0 / 385.1 MB, free: 2 MB / 282.7 MB Notification: Performance of Templates: time 0.002551/0.3376, allocations: 0.5698 MB / 385.6 MB, free: 1.438 MB / 282.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)