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.006664/0.006664, allocations: 97.19 kB / 15.73 MB, free: 6.055 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.001419/0.001419, allocations: 192.9 kB / 16.67 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.673/1.673, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001198/0.001198, allocations: 45.91 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1164, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003018/0.1195, allocations: 1.617 MB / 374.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.1204, allocations: 0.5227 MB / 375.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.1205, allocations: 4 kB / 375.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.804e-05/0.1205, allocations: 11.92 kB / 375.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.1206, allocations: 27.72 kB / 375.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1209, allocations: 27.95 kB / 375.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.121, allocations: 95.53 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1212, allocations: 35.97 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.1212, allocations: 35.86 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.893e-05/0.1213, allocations: 43.84 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1214, allocations: 8 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.1215, allocations: 12 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.1215, allocations: 19.94 kB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.1216, allocations: 43.84 kB / 375.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1218, allocations: 99.56 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1218, allocations: 0 / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1218, allocations: 0 / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1218, allocations: 4 kB / 375.8 MB, free: 14.69 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.0005847/0.1224, allocations: 391.1 kB / 376.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1224, allocations: 8.031 kB / 376.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.1226, allocations: 16.88 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1228, allocations: 180.2 kB / 376.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1229, allocations: 4.375 kB / 376.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.1229, allocations: 12.38 kB / 376.3 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1231, allocations: 77.98 kB / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1231, allocations: 4 kB / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1232, allocations: 4 kB / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1232, allocations: 4 kB / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1233, allocations: 63.86 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/0.1242, allocations: 396.5 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1243, allocations: 70.55 kB / 377 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.1244, allocations: 36.84 kB / 377 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1244, allocations: 4 kB / 377 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1245, allocations: 30.56 kB / 377 MB, free: 13.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1245, allocations: 0 / 377 MB, free: 13.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002365/0.1247, allocations: 93.69 kB / 377.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1248, allocations: 51.41 kB / 377.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.1249, allocations: 109.8 kB / 377.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1249, allocations: 25.7 kB / 377.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.125, allocations: 108 kB / 377.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.125, allocations: 31.73 kB / 377.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.1251, allocations: 21.72 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1252, allocations: 314.8 kB / 377.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.1253, allocations: 23.98 kB / 377.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.1253, allocations: 42.56 kB / 377.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1255, allocations: 74.66 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1255, allocations: 0 / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001631/0.1256, allocations: 113.5 kB / 378 MB, free: 12.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1257, allocations: 4 kB / 378 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1257, allocations: 0 / 378 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1257, allocations: 3.938 kB / 378 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1259, allocations: 23.98 kB / 378 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1259, allocations: 7.938 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.1259, allocations: 12.02 kB / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.126, allocations: 4 kB / 378.1 MB, free: 12.13 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.157e-05/0.126, allocations: 117.8 kB / 378.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1261, allocations: 7.938 kB / 378.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1261, allocations: 8.375 kB / 378.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1261, allocations: 3.938 kB / 378.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1261, allocations: 0 / 378.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1262, allocations: 4 kB / 378.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1264, allocations: 189.6 kB / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1264, allocations: 4 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1265, allocations: 19.98 kB / 378.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1266, allocations: 0 / 378.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1266, allocations: 3.938 kB / 378.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1266, allocations: 4.188 kB / 378.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.1266, allocations: 11.94 kB / 378.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1269, allocations: 191.5 kB / 378.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1269, allocations: 81.06 kB / 378.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1269, allocations: 64 / 378.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1271, allocations: 7.938 kB / 378.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.1271, allocations: 11.97 kB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.1271, allocations: 8 kB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.233e-05/0.1271, allocations: 79.28 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1272, allocations: 0 / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1274, allocations: 23.94 kB / 378.8 MB, free: 11.27 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 0.0001021/0.1275, allocations: 99.19 kB / 378.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1277, allocations: 59.97 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1277, allocations: 0 / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.1277, allocations: 24.33 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.128, allocations: 8.156 kB / 379 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.1287, allocations: 330.2 kB / 379.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.129, allocations: 0.6962 MB / 380 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.935e-05/0.129, allocations: 4 kB / 380 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.1291, allocations: 11.44 kB / 380 MB, free: 9.992 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1291, allocations: 0 / 380 MB, free: 9.992 MB / 318.1 MB Notification: Performance of Templates: time 0.00315/0.1322, allocations: 0.6334 MB / 380.7 MB, free: 9.359 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)