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.001022/0.001022, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.0009433/0.0009433, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.492/1.492, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001174/0.001174, allocations: 60.39 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003246/0.1083, allocations: 1.684 MB / 327.6 MB, free: 3.195 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.1092, allocations: 0.512 MB / 328.2 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.1093, allocations: 4 kB / 328.2 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.1094, allocations: 3.984 kB / 328.2 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.1095, allocations: 27.77 kB / 328.2 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1096, allocations: 23.98 kB / 328.2 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1098, allocations: 99.47 kB / 328.3 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1099, allocations: 31.95 kB / 328.3 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.11, allocations: 35.92 kB / 328.4 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.1101, allocations: 39.84 kB / 328.4 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1101, allocations: 8 kB / 328.4 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.1102, allocations: 8 kB / 328.4 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.1102, allocations: 19.92 kB / 328.4 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.1103, allocations: 43.8 kB / 328.5 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1104, allocations: 95.95 kB / 328.6 MB, free: 2.242 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1104, allocations: 0 / 328.6 MB, free: 2.242 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1104, allocations: 0 / 328.6 MB, free: 2.242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1104, allocations: 0 / 328.6 MB, free: 2.242 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.0005027/0.111, allocations: 387.4 kB / 329 MB, free: 1.816 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.111, allocations: 8.031 kB / 329 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1111, allocations: 12.84 kB / 329 MB, free: 1.797 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1113, allocations: 176.2 kB / 329.2 MB, free: 1.586 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1113, allocations: 4.375 kB / 329.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1113, allocations: 12.38 kB / 329.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1115, allocations: 85.94 kB / 329.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1115, allocations: 3.938 kB / 329.3 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1116, allocations: 8 kB / 329.3 MB, free: 1.469 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1116, allocations: 4 kB / 329.3 MB, free: 1.465 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1117, allocations: 51.91 kB / 329.3 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.1123, allocations: 400.4 kB / 329.7 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1125, allocations: 74.5 kB / 329.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.1125, allocations: 32.84 kB / 329.8 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1126, allocations: 4 kB / 329.8 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1126, allocations: 34.56 kB / 329.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1126, allocations: 0 / 329.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002149/0.1128, allocations: 85.56 kB / 329.9 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.1129, allocations: 55.41 kB / 330 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.1129, allocations: 113.8 kB / 330.1 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.113, allocations: 25.7 kB / 330.1 MB, free: 0.5 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.113, allocations: 111.8 kB / 330.2 MB, free: 396 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1131, allocations: 35.69 kB / 330.3 MB, free: 360 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.1131, allocations: 25.72 kB / 330.3 MB, free: 328 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1132, allocations: 314.8 kB / 330.6 MB, free: 4 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.1133, allocations: 20.03 kB / 330.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.1133, allocations: 46.52 kB / 330.7 MB, free: 15.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1134, allocations: 66.52 kB / 330.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1135, allocations: 4.25 kB / 330.7 MB, free: 15.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001457/0.1136, allocations: 97.61 kB / 330.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1136, allocations: 8 kB / 330.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1137, allocations: 4 kB / 330.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1137, allocations: 7.875 kB / 330.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1138, allocations: 32.05 kB / 330.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1138, allocations: 4 kB / 330.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.1139, allocations: 7.906 kB / 330.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1139, allocations: 3.984 kB / 330.9 MB, free: 15.68 MB / 286.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.625e-05/0.114, allocations: 125.7 kB / 331 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.114, allocations: 4 kB / 331 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.1141, allocations: 8.375 kB / 331 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1141, allocations: 11.92 kB / 331 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1141, allocations: 4 kB / 331.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1141, allocations: 0 / 331.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1143, allocations: 181.6 kB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1143, allocations: 0 / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.1144, allocations: 19.98 kB / 331.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1144, allocations: 0 / 331.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1144, allocations: 4 kB / 331.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1144, allocations: 7.938 kB / 331.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1144, allocations: 3.938 kB / 331.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.1146, allocations: 199.5 kB / 331.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.1147, allocations: 81.02 kB / 331.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1147, allocations: 0 / 331.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.1148, allocations: 15.95 kB / 331.6 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.1148, allocations: 4 kB / 331.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1148, allocations: 0 / 331.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.1148, allocations: 83.28 kB / 331.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1148, allocations: 0 / 331.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1151, allocations: 35.89 kB / 331.7 MB, free: 14.82 MB / 286.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.516e-05/0.1152, allocations: 95.25 kB / 331.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.1153, allocations: 55.92 kB / 331.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1153, allocations: 0 / 331.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.1153, allocations: 23.92 kB / 331.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1157, allocations: 8 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.1163, allocations: 344.5 kB / 332.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1165, allocations: 0.6926 MB / 332.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.1166, allocations: 15.94 kB / 332.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.1166, allocations: 11.44 kB / 332.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1166, allocations: 0 / 332.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of Templates: time 0.002706/0.1193, allocations: 0.5961 MB / 333.5 MB, free: 12.93 MB / 286.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)