Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.008824/0.008824, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.002122/0.002122, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001273/0.001273, allocations: 51.92 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 46.62 MB / 373.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002852/0.1091, allocations: 1.623 MB / 374.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.11, allocations: 0.515 MB / 375.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.1101, allocations: 4 kB / 375.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.287e-05/0.1102, allocations: 11.86 kB / 375.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.1103, allocations: 27.77 kB / 375.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1105, allocations: 27.91 kB / 375.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1106, allocations: 103.5 kB / 375.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1108, allocations: 43.89 kB / 375.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.1108, allocations: 31.92 kB / 375.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.1109, allocations: 43.84 kB / 375.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.111, allocations: 8 kB / 375.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.111, allocations: 8 kB / 375.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.1111, allocations: 19.92 kB / 375.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.1111, allocations: 51.78 kB / 375.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1113, allocations: 103.7 kB / 375.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1113, allocations: 0 / 375.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1113, allocations: 0 / 375.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.1113, allocations: 0 / 375.7 MB, free: 1.953 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.000465/0.1118, allocations: 375.3 kB / 376.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1119, allocations: 12.03 kB / 376.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.112, allocations: 12.83 kB / 376.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1122, allocations: 172.3 kB / 376.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1122, allocations: 4.375 kB / 376.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1122, allocations: 12.38 kB / 376.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1124, allocations: 89.97 kB / 376.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1124, allocations: 0 / 376.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1124, allocations: 4 kB / 376.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1125, allocations: 4 kB / 376.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1126, allocations: 51.92 kB / 376.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.1132, allocations: 404.3 kB / 376.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1134, allocations: 70.5 kB / 376.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.1134, allocations: 36.78 kB / 377 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.1135, allocations: 3.984 kB / 377 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1135, allocations: 34.56 kB / 377 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1135, allocations: 0 / 377 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002107/0.1137, allocations: 89.61 kB / 377.1 MB, free: 448 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1138, allocations: 55.41 kB / 377.1 MB, free: 380 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.1139, allocations: 105.8 kB / 377.3 MB, free: 264 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1139, allocations: 25.7 kB / 377.3 MB, free: 232 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.114, allocations: 99.89 kB / 377.4 MB, free: 128 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.114, allocations: 43.56 kB / 377.4 MB, free: 84 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.114, allocations: 29.72 kB / 377.4 MB, free: 48 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2407/0.3547, allocations: 318.8 kB / 377.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3549, allocations: 17.67 kB / 377.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3551, allocations: 44.41 kB / 377.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3552, allocations: 67.02 kB / 377.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.3552, allocations: 0 / 377.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002428/0.3555, allocations: 109.3 kB / 378 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.3555, allocations: 6.328 kB / 378 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3555, allocations: 1.094 kB / 378 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.3556, allocations: 4.531 kB / 378 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3558, allocations: 30.14 kB / 378 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3558, allocations: 1.188 kB / 378 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.3559, allocations: 12.97 kB / 378 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3559, allocations: 2.625 kB / 378 MB, free: 13.29 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 0.0001123/0.356, allocations: 122 kB / 378.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.3561, allocations: 3.688 kB / 378.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.3561, allocations: 10.25 kB / 378.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.3561, allocations: 1.938 kB / 378.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3562, allocations: 3.938 kB / 378.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3562, allocations: 3.312 kB / 378.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.3564, allocations: 189.5 kB / 378.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3564, allocations: 2.141 kB / 378.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3565, allocations: 20.66 kB / 378.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3565, allocations: 3.875 kB / 378.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3566, allocations: 1.5 kB / 378.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3566, allocations: 0 / 378.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3566, allocations: 3.938 kB / 378.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3568, allocations: 191.4 kB / 378.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.3569, allocations: 85.34 kB / 378.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3569, allocations: 4.266 kB / 378.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.3569, allocations: 5.844 kB / 378.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.357, allocations: 11.86 kB / 378.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.357, allocations: 2.188 kB / 378.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.3571, allocations: 85.48 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3571, allocations: 0 / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000257/0.3573, allocations: 25.55 kB / 378.8 MB, free: 12.67 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.0001358/0.3575, allocations: 102.2 kB / 378.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.3577, allocations: 60.94 kB / 379 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3577, allocations: 0 / 379 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.3577, allocations: 20.55 kB / 379 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.358, allocations: 9.734 kB / 379 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.3587, allocations: 320.2 kB / 379.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.3588, allocations: 0.6954 MB / 380 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.612e-05/0.3589, allocations: 8.922 kB / 380 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.3589, allocations: 11.81 kB / 380 MB, free: 11.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3589, allocations: 0 / 380 MB, free: 11.68 MB / 318.1 MB Notification: Performance of Templates: time 0.003401/0.3623, allocations: 0.6371 MB / 380.7 MB, free: 11.62 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1)