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.006651/0.006651, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001237/0.001237, allocations: 197.5 kB / 16.68 MB, free: 5.961 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001339/0.001339, allocations: 49.86 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1153, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002771/0.1181, allocations: 1.613 MB / 374.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009027/0.119, allocations: 0.5111 MB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.1191, allocations: 7.938 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.207e-05/0.1192, allocations: 7.922 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.1193, allocations: 31.7 kB / 375.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1195, allocations: 31.97 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1197, allocations: 103.5 kB / 375.5 MB, free: 15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1198, allocations: 35.92 kB / 375.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.1199, allocations: 35.86 kB / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.12, allocations: 47.83 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.12, allocations: 8 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.103e-05/0.1201, allocations: 15.94 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.1201, allocations: 15.92 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1202, allocations: 39.88 kB / 375.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1204, allocations: 99.73 kB / 375.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1204, allocations: 0 / 375.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1204, allocations: 0 / 375.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1204, allocations: 0 / 375.7 MB, free: 14.71 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.0005649/0.121, allocations: 379.3 kB / 376.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.121, allocations: 15.97 kB / 376.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1212, allocations: 8.844 kB / 376.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1214, allocations: 176.2 kB / 376.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1214, allocations: 8.375 kB / 376.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1214, allocations: 8.375 kB / 376.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1216, allocations: 85.98 kB / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1216, allocations: 0 / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1217, allocations: 4 kB / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1217, allocations: 7.984 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1218, allocations: 55.86 kB / 376.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.1225, allocations: 400.5 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1227, allocations: 74.48 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1227, allocations: 32.84 kB / 377 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.1227, allocations: 0 / 377 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1228, allocations: 42.56 kB / 377 MB, free: 13.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1228, allocations: 0 / 377 MB, free: 13.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002331/0.123, allocations: 97.61 kB / 377.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1231, allocations: 51.41 kB / 377.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.1232, allocations: 105.8 kB / 377.3 MB, free: 13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1232, allocations: 29.7 kB / 377.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.1233, allocations: 99.88 kB / 377.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1233, allocations: 31.55 kB / 377.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.1234, allocations: 25.72 kB / 377.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1235, allocations: 322.8 kB / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.1237, allocations: 20 kB / 377.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.1238, allocations: 46.56 kB / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.1239, allocations: 70.5 kB / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1239, allocations: 0 / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001531/0.124, allocations: 105.5 kB / 378 MB, free: 12.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1241, allocations: 8.062 kB / 378 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1241, allocations: 4 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1241, allocations: 3.938 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1242, allocations: 27.98 kB / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1243, allocations: 0 / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.1243, allocations: 11.88 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1243, allocations: 4 kB / 378.1 MB, free: 12.16 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.322e-05/0.1244, allocations: 121.8 kB / 378.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1244, allocations: 3.906 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.1245, allocations: 16.38 kB / 378.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1245, allocations: 3.938 kB / 378.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1245, allocations: 0 / 378.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1245, allocations: 3.984 kB / 378.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1247, allocations: 181.6 kB / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1247, allocations: 0 / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1248, allocations: 19.98 kB / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1248, allocations: 4 kB / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1249, allocations: 4 kB / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1249, allocations: 7.875 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1249, allocations: 4 kB / 378.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1251, allocations: 191.4 kB / 378.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.1251, allocations: 81.02 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1252, allocations: 4.031 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.1252, allocations: 8.188 kB / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.1253, allocations: 7.984 kB / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1253, allocations: 4 kB / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.44e-05/0.1253, allocations: 87.34 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1253, allocations: 0 / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1256, allocations: 23.94 kB / 378.8 MB, free: 11.3 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.85e-05/0.1257, allocations: 99.23 kB / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1258, allocations: 55.92 kB / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1258, allocations: 0 / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.1259, allocations: 23.94 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1262, allocations: 8.109 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.1269, allocations: 326.5 kB / 379.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1272, allocations: 0.6962 MB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.1273, allocations: 8 kB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1273, allocations: 11.44 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1273, allocations: 0 / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Templates: time 0.002841/0.1301, allocations: 0.6456 MB / 380.7 MB, free: 9.379 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)