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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001328/0.001328, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.433/1.433, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.00128/0.00128, allocations: 47.92 kB / 327.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 46.61 MB / 374.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002919/0.1074, allocations: 1.631 MB / 376.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.1083, allocations: 0.519 MB / 376.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.1083, allocations: 0 / 376.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.286e-05/0.1084, allocations: 11.86 kB / 376.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.1085, allocations: 31.7 kB / 376.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1087, allocations: 23.97 kB / 376.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1089, allocations: 107.5 kB / 376.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.109, allocations: 35.98 kB / 376.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.1091, allocations: 31.92 kB / 376.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.1092, allocations: 43.83 kB / 376.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1092, allocations: 8 kB / 376.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1093, allocations: 12 kB / 376.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.1093, allocations: 19.92 kB / 376.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.1094, allocations: 47.8 kB / 377 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1096, allocations: 99.67 kB / 377.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1096, allocations: 0 / 377.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1096, allocations: 4 kB / 377.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1096, allocations: 0 / 377.1 MB, free: 1.965 MB / 318.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.0004781/0.1101, allocations: 375.3 kB / 377.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1101, allocations: 8.031 kB / 377.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.1103, allocations: 20.81 kB / 377.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1104, allocations: 168.3 kB / 377.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1104, allocations: 8.375 kB / 377.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1105, allocations: 12.38 kB / 377.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1106, allocations: 85.97 kB / 377.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1107, allocations: 0 / 377.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1107, allocations: 4 kB / 377.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1107, allocations: 4 kB / 377.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1108, allocations: 55.92 kB / 377.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.1114, allocations: 396.3 kB / 378.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1116, allocations: 78.44 kB / 378.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1116, allocations: 36.84 kB / 378.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.1117, allocations: 0 / 378.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1117, allocations: 34.56 kB / 378.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.1117, allocations: 0 / 378.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002016/0.1119, allocations: 89.75 kB / 378.4 MB, free: 460 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1119, allocations: 59.34 kB / 378.5 MB, free: 388 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.112, allocations: 109.9 kB / 378.6 MB, free: 268 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1121, allocations: 29.7 kB / 378.6 MB, free: 232 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.1121, allocations: 99.88 kB / 378.7 MB, free: 128 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1122, allocations: 35.48 kB / 378.7 MB, free: 92 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1122, allocations: 21.72 kB / 378.8 MB, free: 64 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2102/0.3224, allocations: 322.8 kB / 379.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3226, allocations: 16.75 kB / 379.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.3227, allocations: 45.31 kB / 379.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3228, allocations: 65.61 kB / 379.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3228, allocations: 0 / 379.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002058/0.323, allocations: 105.5 kB / 379.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3231, allocations: 9.172 kB / 379.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3231, allocations: 1.281 kB / 379.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3231, allocations: 1.844 kB / 379.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3233, allocations: 33.91 kB / 379.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3233, allocations: 5 kB / 379.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.3234, allocations: 6.062 kB / 379.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3234, allocations: 3.312 kB / 379.4 MB, free: 12.7 MB / 318.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 9.028e-05/0.3235, allocations: 118.2 kB / 379.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.3235, allocations: 6.672 kB / 379.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.3236, allocations: 16.2 kB / 379.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3236, allocations: 1.094 kB / 379.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3236, allocations: 3.938 kB / 379.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3236, allocations: 1.984 kB / 379.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3238, allocations: 185.7 kB / 379.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3238, allocations: 2.547 kB / 379.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3239, allocations: 17.94 kB / 379.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3239, allocations: 4.906 kB / 379.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3239, allocations: 1.375 kB / 379.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.324, allocations: 0 / 379.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.324, allocations: 3.938 kB / 379.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.3242, allocations: 190.8 kB / 379.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.3242, allocations: 89.78 kB / 380 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3243, allocations: 7.438 kB / 380 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.3243, allocations: 2.562 kB / 380 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.3244, allocations: 8.188 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3244, allocations: 6.734 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.3244, allocations: 84.25 kB / 380.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 0 / 380.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3247, allocations: 25.81 kB / 380.1 MB, free: 12.09 MB / 318.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 8.159e-05/0.3248, allocations: 95.72 kB / 380.2 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.3249, allocations: 59.84 kB / 380.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3249, allocations: 0 / 380.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.325, allocations: 21.23 kB / 380.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3253, allocations: 9.922 kB / 380.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.3259, allocations: 325.2 kB / 380.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3261, allocations: 0.6952 MB / 381.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.3261, allocations: 9.812 kB / 381.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.3261, allocations: 10.19 kB / 381.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3261, allocations: 0 / 381.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of Templates: time 0.002928/0.3291, allocations: 0.6507 MB / 382 MB, free: 11.04 MB / 318.1 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)