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.00146/0.00146, allocations: 84.44 kB / 16.31 MB, free: 5.676 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.001477/0.001477, allocations: 180.5 kB / 17.21 MB, free: 5.59 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.602/1.602, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.000496/0.000496, allocations: 8 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 47.57 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002155/0.1203, allocations: 1.326 MB / 329 MB, free: 2.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00091/0.1212, allocations: 488.7 kB / 329.5 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.1213, allocations: 0 / 329.5 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.1214, allocations: 15.92 kB / 329.5 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.1214, allocations: 23.83 kB / 329.6 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1217, allocations: 23.91 kB / 329.6 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1218, allocations: 91.53 kB / 329.7 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1221, allocations: 31.91 kB / 329.7 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.1221, allocations: 27.92 kB / 329.7 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.1222, allocations: 35.84 kB / 329.8 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1223, allocations: 12 kB / 329.8 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.1223, allocations: 15.98 kB / 329.8 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1224, allocations: 8 kB / 329.8 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.1224, allocations: 41.64 kB / 329.8 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1226, allocations: 72.06 kB / 329.9 MB, free: 1.867 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.1226, allocations: 4 kB / 329.9 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1226, allocations: 0 / 329.9 MB, free: 1.863 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1226, allocations: 0 / 329.9 MB, free: 1.863 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.000598/0.1232, allocations: 367.2 kB / 330.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.1233, allocations: 12.03 kB / 330.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1234, allocations: 11.91 kB / 330.3 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1236, allocations: 171 kB / 330.5 MB, free: 1.227 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1236, allocations: 7.953 kB / 330.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.1237, allocations: 12 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1239, allocations: 77.66 kB / 330.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1239, allocations: 3.906 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1239, allocations: 8 kB / 330.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1239, allocations: 0 / 330.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.124, allocations: 59.92 kB / 330.6 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.1248, allocations: 396.6 kB / 331 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1249, allocations: 66.5 kB / 331.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.125, allocations: 40.84 kB / 331.1 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.125, allocations: 4 kB / 331.1 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.125, allocations: 30.56 kB / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.125, allocations: 0 / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002464/0.1253, allocations: 81.67 kB / 331.2 MB, free: 380 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1254, allocations: 59.34 kB / 331.3 MB, free: 308 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.1254, allocations: 109.8 kB / 331.4 MB, free: 188 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1255, allocations: 29.7 kB / 331.4 MB, free: 152 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1255, allocations: 112 kB / 331.5 MB, free: 36 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1256, allocations: 31.55 kB / 331.6 MB, free: 4 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1256, allocations: 3.938 kB / 331.6 MB, free: 0 / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1258, allocations: 322.8 kB / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.1258, allocations: 16 kB / 331.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.1259, allocations: 50.56 kB / 331.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.1259, allocations: 28 kB / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1259, allocations: 0 / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001668/0.1261, allocations: 105.5 kB / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1261, allocations: 4 kB / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1262, allocations: 320 / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1262, allocations: 7.984 kB / 332.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1263, allocations: 23.94 kB / 332.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1263, allocations: 3.984 kB / 332.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.1264, allocations: 19.91 kB / 332.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1264, allocations: 7.984 kB / 332.1 MB, free: 15.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.1265, allocations: 121.7 kB / 332.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1266, allocations: 8 kB / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.1266, allocations: 8.375 kB / 332.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1266, allocations: 0 / 332.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1266, allocations: 256 / 332.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1266, allocations: 0 / 332.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1269, allocations: 193.6 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1269, allocations: 4 kB / 332.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.127, allocations: 23.92 kB / 332.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.127, allocations: 0 / 332.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.127, allocations: 0 / 332.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.127, allocations: 0 / 332.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.127, allocations: 0 / 332.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.1273, allocations: 199.4 kB / 332.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1274, allocations: 85.05 kB / 332.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1274, allocations: 0 / 332.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.1275, allocations: 8.062 kB / 332.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1275, allocations: 7.984 kB / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1275, allocations: 0 / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.1276, allocations: 83.28 kB / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1276, allocations: 0 / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1278, allocations: 23.94 kB / 332.9 MB, free: 14.55 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 (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.000118/0.128, allocations: 99.23 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1281, allocations: 71.84 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1281, allocations: 0 / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.1282, allocations: 20 kB / 333.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1285, allocations: 7.953 kB / 333.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.1292, allocations: 389 kB / 333.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1295, allocations: 0.6965 MB / 334.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.1295, allocations: 3.953 kB / 334.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.1295, allocations: 15.44 kB / 334.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1295, allocations: 0 / 334.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of Templates: time 0.002823/0.1324, allocations: 0.5664 MB / 334.8 MB, free: 12.64 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)