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.008027/0.008027, allocations: 102.3 kB / 15.73 MB, free: 6.016 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.001531/0.001531, allocations: 192 kB / 16.67 MB, free: 5.934 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.617/1.617, allocations: 205.1 MB / 222.5 MB, free: 4.473 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.001251/0.001252, allocations: 45.19 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1145, allocations: 46.63 MB / 373.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002652/0.1172, allocations: 1.609 MB / 374.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.1181, allocations: 0.5111 MB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.1181, allocations: 4 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.1182, allocations: 11.86 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.1182, allocations: 39.64 kB / 375.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1185, allocations: 31.95 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1186, allocations: 95.53 kB / 375.4 MB, free: 15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1187, allocations: 39.91 kB / 375.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1188, allocations: 39.84 kB / 375.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1189, allocations: 43.84 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1189, allocations: 8 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.119, allocations: 16 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.119, allocations: 19.92 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.1191, allocations: 39.86 kB / 375.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1193, allocations: 99.73 kB / 375.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1193, allocations: 0 / 375.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1193, allocations: 0 / 375.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1193, allocations: 0 / 375.7 MB, free: 14.7 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.0004339/0.1197, allocations: 371.3 kB / 376.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1198, allocations: 12.03 kB / 376.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1199, allocations: 20.77 kB / 376.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.12, allocations: 172.3 kB / 376.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.12, allocations: 8.375 kB / 376.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1201, allocations: 8.375 kB / 376.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1203, allocations: 89.97 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1203, allocations: 0 / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1203, allocations: 4 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1203, allocations: 4 kB / 376.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1204, allocations: 59.86 kB / 376.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.1211, allocations: 392.5 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1213, allocations: 78.48 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.1214, allocations: 32.84 kB / 377 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.1214, allocations: 0 / 377 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1214, allocations: 34.56 kB / 377 MB, free: 13.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.1214, allocations: 4 kB / 377 MB, free: 13.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001944/0.1216, allocations: 97.59 kB / 377.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1217, allocations: 55.41 kB / 377.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.1217, allocations: 105.8 kB / 377.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1218, allocations: 25.7 kB / 377.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.1218, allocations: 99.89 kB / 377.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1218, allocations: 31.55 kB / 377.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1219, allocations: 29.72 kB / 377.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.122, allocations: 318.8 kB / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.122, allocations: 23.98 kB / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.1221, allocations: 42.56 kB / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1223, allocations: 74.45 kB / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1223, allocations: 7.938 kB / 377.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002038/0.1225, allocations: 109.5 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1225, allocations: 4 kB / 378 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1225, allocations: 4 kB / 378 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1225, allocations: 3.938 kB / 378 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1227, allocations: 23.98 kB / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1227, allocations: 0 / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.1227, allocations: 11.94 kB / 378.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1228, allocations: 4 kB / 378.1 MB, free: 12.14 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 8.594e-05/0.1229, allocations: 121.8 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1229, allocations: 7.891 kB / 378.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.1229, allocations: 12.38 kB / 378.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1229, allocations: 3.938 kB / 378.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1229, allocations: 0 / 378.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1229, allocations: 0 / 378.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1231, allocations: 189.6 kB / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1231, allocations: 0 / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.1233, allocations: 16 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1233, allocations: 0 / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1233, allocations: 8.25 kB / 378.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.1233, allocations: 11.92 kB / 378.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1233, allocations: 3.938 kB / 378.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1235, allocations: 191.4 kB / 378.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.1236, allocations: 85 kB / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1236, allocations: 4.031 kB / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.1236, allocations: 3.938 kB / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.1237, allocations: 4 kB / 378.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1237, allocations: 8.062 kB / 378.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.579e-05/0.1237, allocations: 83.27 kB / 378.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1237, allocations: 0 / 378.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.124, allocations: 27.94 kB / 378.8 MB, free: 11.29 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 9.542e-05/0.1241, allocations: 91.25 kB / 378.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1242, allocations: 59.92 kB / 379 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1242, allocations: 0 / 379 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.1243, allocations: 32.03 kB / 379 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1245, allocations: 8 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.1251, allocations: 314.6 kB / 379.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1254, allocations: 0.704 MB / 380 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.1254, allocations: 11.92 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.1255, allocations: 11.44 kB / 380 MB, free: 10 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1255, allocations: 0 / 380 MB, free: 10 MB / 318.1 MB Notification: Performance of Templates: time 0.002616/0.1281, allocations: 0.6336 MB / 380.7 MB, free: 9.371 MB / 318.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)