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.0008311/0.0008314, allocations: 92.17 kB / 16.65 MB, free: 6.535 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.001143/0.001143, allocations: 174.2 kB / 17.56 MB, free: 6.184 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.605/1.605, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004747/0.0004749, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1327, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001942/0.1347, allocations: 1.345 MB / 329.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.1356, allocations: 0.5004 MB / 330.2 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.1357, allocations: 0 / 330.2 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.1357, allocations: 11.92 kB / 330.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.231e-05/0.1358, allocations: 23.83 kB / 330.2 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.136, allocations: 27.92 kB / 330.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1362, allocations: 95.53 kB / 330.3 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1363, allocations: 35.95 kB / 330.4 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.1364, allocations: 27.94 kB / 330.4 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.1365, allocations: 35.84 kB / 330.4 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1365, allocations: 4 kB / 330.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.1366, allocations: 8 kB / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.1366, allocations: 19.92 kB / 330.4 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.1367, allocations: 69.48 kB / 330.5 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1368, allocations: 91.95 kB / 330.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1368, allocations: 0 / 330.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1368, allocations: 0 / 330.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1368, allocations: 4 kB / 330.6 MB, free: 1.438 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.0004374/0.1373, allocations: 359.4 kB / 331 MB, free: 1.039 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1373, allocations: 8.031 kB / 331 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.1374, allocations: 16.83 kB / 331 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1376, allocations: 176.2 kB / 331.2 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1376, allocations: 8.375 kB / 331.2 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1376, allocations: 8.281 kB / 331.2 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1378, allocations: 97.92 kB / 331.3 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1378, allocations: 3.938 kB / 331.3 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1379, allocations: 4 kB / 331.3 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1379, allocations: 0 / 331.3 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.138, allocations: 59.91 kB / 331.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.1386, allocations: 400.4 kB / 331.7 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1388, allocations: 66.56 kB / 331.8 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.1388, allocations: 36.84 kB / 331.8 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1388, allocations: 0 / 331.8 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1389, allocations: 34.56 kB / 331.9 MB, free: 24 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.1389, allocations: 0 / 331.9 MB, free: 24 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002259/0.1391, allocations: 89.55 kB / 331.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1391, allocations: 55.41 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.1392, allocations: 109.8 kB / 332.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1393, allocations: 33.7 kB / 332.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1393, allocations: 103.8 kB / 332.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1394, allocations: 35.72 kB / 332.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.1394, allocations: 17.72 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1395, allocations: 322.8 kB / 332.6 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.1395, allocations: 16 kB / 332.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.1396, allocations: 46.56 kB / 332.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.1397, allocations: 70.5 kB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1397, allocations: 0 / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001452/0.1399, allocations: 105.5 kB / 332.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1399, allocations: 4 kB / 332.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1399, allocations: 4.062 kB / 332.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1399, allocations: 11.92 kB / 332.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.14, allocations: 27.92 kB / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1401, allocations: 3.938 kB / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1401, allocations: 7.906 kB / 332.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1401, allocations: 8 kB / 332.9 MB, free: 14.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.552e-05/0.1402, allocations: 117.8 kB / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1402, allocations: 4 kB / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.1403, allocations: 16.36 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1403, allocations: 3.938 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1403, allocations: 0 / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1403, allocations: 0 / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1405, allocations: 189.5 kB / 333.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1405, allocations: 0 / 333.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1406, allocations: 20 kB / 333.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1407, allocations: 0 / 333.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1407, allocations: 0 / 333.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1407, allocations: 3.938 kB / 333.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1407, allocations: 7.875 kB / 333.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.1409, allocations: 191.5 kB / 333.4 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.1409, allocations: 89.05 kB / 333.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.141, allocations: 0 / 333.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.141, allocations: 7.922 kB / 333.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.141, allocations: 4 kB / 333.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1411, allocations: 0 / 333.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.328e-05/0.1411, allocations: 95.33 kB / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1411, allocations: 0 / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1414, allocations: 23.94 kB / 333.7 MB, free: 14.04 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 (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.269e-05/0.1415, allocations: 99.19 kB / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1416, allocations: 47.98 kB / 333.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1416, allocations: 0 / 333.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.1416, allocations: 31.92 kB / 333.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1419, allocations: 8.125 kB / 333.8 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.1425, allocations: 393.1 kB / 334.2 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1428, allocations: 0.6965 MB / 334.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.1428, allocations: 7.953 kB / 334.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.1429, allocations: 11.44 kB / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1429, allocations: 0 / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of Templates: time 0.002705/0.1456, allocations: 0.5866 MB / 335.5 MB, free: 12.12 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)