Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.005959/0.005959, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001346/0.001346, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.614/1.614, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.00121/0.00121, allocations: 50.05 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.12, allocations: 46.63 MB / 373.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00278/0.1228, allocations: 1.613 MB / 374.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.1237, allocations: 0.5188 MB / 375.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.1238, allocations: 7.938 kB / 375.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.1239, allocations: 15.86 kB / 375.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.1239, allocations: 27.77 kB / 375.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1242, allocations: 27.91 kB / 375.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1244, allocations: 95.58 kB / 375.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1245, allocations: 31.98 kB / 375.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.1246, allocations: 35.86 kB / 375.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1247, allocations: 47.83 kB / 375.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1247, allocations: 12 kB / 375.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.1248, allocations: 8 kB / 375.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.1248, allocations: 23.92 kB / 375.6 MB, free: 15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.1249, allocations: 35.88 kB / 375.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1251, allocations: 103.6 kB / 375.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1251, allocations: 3.984 kB / 375.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1251, allocations: 0 / 375.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1251, allocations: 0 / 375.7 MB, free: 14.86 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.0005708/0.1257, allocations: 387 kB / 376.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1257, allocations: 16.03 kB / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1259, allocations: 8.891 kB / 376.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1261, allocations: 172.3 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1261, allocations: 8.375 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.1262, allocations: 4.375 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1264, allocations: 85.98 kB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1264, allocations: 7.922 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1264, allocations: 7.984 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1264, allocations: 4 kB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1265, allocations: 59.92 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.1273, allocations: 392.5 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1274, allocations: 66.56 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.1275, allocations: 40.84 kB / 377 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.1275, allocations: 0 / 377 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1275, allocations: 34.56 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1275, allocations: 4 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002264/0.1278, allocations: 98.05 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1278, allocations: 51.41 kB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1279, allocations: 105.8 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.128, allocations: 29.7 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.128, allocations: 99.97 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1281, allocations: 35.73 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.1281, allocations: 25.72 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1282, allocations: 322.8 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.1283, allocations: 20 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.1284, allocations: 42.5 kB / 377.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1285, allocations: 74.5 kB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1285, allocations: 0 / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001485/0.1286, allocations: 109.5 kB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1286, allocations: 5.094 kB / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1287, allocations: 0 / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1287, allocations: 7.938 kB / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1288, allocations: 27.92 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1288, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.1289, allocations: 7.953 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1289, allocations: 8.062 kB / 378.1 MB, free: 12.3 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.991e-05/0.129, allocations: 125.7 kB / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.129, allocations: 0 / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.1291, allocations: 8.375 kB / 378.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1291, allocations: 11.92 kB / 378.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1291, allocations: 0 / 378.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1291, allocations: 0 / 378.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.1293, allocations: 181.6 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1293, allocations: 0 / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1294, allocations: 27.92 kB / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1294, allocations: 4 kB / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1294, allocations: 7.938 kB / 378.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1294, allocations: 3.938 kB / 378.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1295, allocations: 256 / 378.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1297, allocations: 187.5 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1297, allocations: 81.06 kB / 378.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1297, allocations: 12.03 kB / 378.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.1298, allocations: 4 kB / 378.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.1298, allocations: 7.984 kB / 378.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1298, allocations: 4 kB / 378.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.1299, allocations: 83.28 kB / 378.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1299, allocations: 0 / 378.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1301, allocations: 27.94 kB / 378.8 MB, free: 11.45 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.898e-05/0.1302, allocations: 99.17 kB / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1304, allocations: 51.98 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1304, allocations: 8.062 kB / 379 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.1304, allocations: 20 kB / 379 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1308, allocations: 7.984 kB / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.1314, allocations: 334.1 kB / 379.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1317, allocations: 0.6963 MB / 380 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1317, allocations: 4 kB / 380 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1317, allocations: 15.42 kB / 380.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1317, allocations: 0 / 380.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Templates: time 0.002662/0.1344, allocations: 0.63 MB / 380.7 MB, free: 9.531 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1)