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.008043/0.008043, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.001497/0.001497, allocations: 196.1 kB / 16.67 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001174/0.001174, allocations: 49.16 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 46.63 MB / 373.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003263/0.1212, allocations: 1.617 MB / 374.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.1222, allocations: 0.5228 MB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.1223, allocations: 3.938 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.1224, allocations: 15.8 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.392e-05/0.1225, allocations: 23.78 kB / 375.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1227, allocations: 31.89 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1229, allocations: 99.59 kB / 375.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1231, allocations: 39.95 kB / 375.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.1231, allocations: 35.86 kB / 375.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1232, allocations: 35.86 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1233, allocations: 8 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.1234, allocations: 23.92 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.1234, allocations: 11.94 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.1235, allocations: 47.84 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1237, allocations: 95.62 kB / 375.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1237, allocations: 4 kB / 375.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1237, allocations: 0 / 375.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1237, allocations: 0 / 375.8 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.0005729/0.1243, allocations: 387.1 kB / 376.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1243, allocations: 8.031 kB / 376.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.1245, allocations: 16.83 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1246, allocations: 168.3 kB / 376.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1247, allocations: 8.375 kB / 376.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.1247, allocations: 20.36 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1249, allocations: 85.92 kB / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1249, allocations: 0 / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1249, allocations: 4 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1249, allocations: 0 / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1251, allocations: 55.92 kB / 376.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.1258, allocations: 400.5 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1259, allocations: 70.56 kB / 377 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.126, allocations: 32.84 kB / 377 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.126, allocations: 0 / 377 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.126, allocations: 38.5 kB / 377 MB, free: 13.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.126, allocations: 0 / 377 MB, free: 13.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002493/0.1263, allocations: 85.75 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.1264, allocations: 59.41 kB / 377.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.1265, allocations: 109.8 kB / 377.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1265, allocations: 25.7 kB / 377.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1266, allocations: 104 kB / 377.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1266, allocations: 27.91 kB / 377.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.1267, allocations: 29.7 kB / 377.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1268, allocations: 310.8 kB / 377.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.1268, allocations: 23.98 kB / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.1269, allocations: 58.44 kB / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/0.127, allocations: 66.56 kB / 377.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.127, allocations: 0 / 377.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001434/0.1272, allocations: 109.5 kB / 378 MB, free: 12.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1272, allocations: 8 kB / 378 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1272, allocations: 4.062 kB / 378 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1272, allocations: 3.938 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1273, allocations: 27.92 kB / 378.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1274, allocations: 4 kB / 378.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1274, allocations: 7.953 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1274, 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 8.294e-05/0.1275, allocations: 117.8 kB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1275, allocations: 4 kB / 378.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.1276, allocations: 8.375 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1276, allocations: 8.188 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1276, allocations: 0 / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1276, allocations: 7.984 kB / 378.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1278, allocations: 189.6 kB / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1278, allocations: 4 kB / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/0.1279, allocations: 23.92 kB / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1279, allocations: 0 / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1279, allocations: 0 / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.1279, allocations: 3.938 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.128, allocations: 3.938 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.1281, allocations: 195.8 kB / 378.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.1282, allocations: 85.09 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1282, allocations: 0 / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.1283, allocations: 3.938 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.1283, allocations: 15.92 kB / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1283, allocations: 0 / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.1284, allocations: 79.28 kB / 378.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1284, allocations: 0 / 378.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1286, allocations: 32 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 0.0001001/0.1287, allocations: 91.25 kB / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1289, allocations: 67.97 kB / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1289, allocations: 0 / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.1289, allocations: 20 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.0003098/0.1292, allocations: 8 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.1299, allocations: 330.2 kB / 379.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1303, allocations: 0.6962 MB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.1303, allocations: 4 kB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.1303, allocations: 15.44 kB / 380.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1303, allocations: 0 / 380.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Templates: time 0.002697/0.133, allocations: 0.6336 MB / 380.7 MB, free: 9.387 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)