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.001407/0.001407, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001766/0.001766, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.602/1.602, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001659/0.00166, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3102, allocations: 46.62 MB / 324.8 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003026/0.3133, allocations: 1.68 MB / 326.5 MB, free: 0.6133 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.3142, allocations: 0.511 MB / 327 MB, free: 212 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.3142, allocations: 2.656 kB / 327 MB, free: 212 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.3143, allocations: 10.58 kB / 327 MB, free: 204 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.3144, allocations: 30.86 kB / 327.1 MB, free: 176 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.3146, allocations: 20.58 kB / 327.1 MB, free: 160 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3147, allocations: 104.8 kB / 327.2 MB, free: 96 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3149, allocations: 35.97 kB / 327.2 MB, free: 76 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.3149, allocations: 35.36 kB / 327.3 MB, free: 56 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.315, allocations: 37.41 kB / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.3151, allocations: 7.375 kB / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.3152, allocations: 27.05 kB / 327.3 MB, free: 16 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.3152, allocations: 14.72 kB / 327.4 MB, free: 4 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.3153, allocations: 44.52 kB / 327.4 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3155, allocations: 101.8 kB / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3155, allocations: 0 / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3155, allocations: 0 / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3155, allocations: 1.281 kB / 327.5 MB, free: 15.91 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.0005508/0.3161, allocations: 376.8 kB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3161, allocations: 12.91 kB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3163, allocations: 15.72 kB / 327.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3164, allocations: 170.6 kB / 328.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3165, allocations: 7.812 kB / 328.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3165, allocations: 18.45 kB / 328.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3167, allocations: 84.11 kB / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3167, allocations: 0 / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3167, allocations: 1.344 kB / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3168, allocations: 2.531 kB / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3169, allocations: 51.44 kB / 328.2 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.3176, allocations: 405.5 kB / 328.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3177, allocations: 74.08 kB / 328.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.3178, allocations: 29.42 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.3178, allocations: 5.312 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.3178, allocations: 34.55 kB / 328.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3178, allocations: 1.344 kB / 328.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002202/0.3181, allocations: 91.36 kB / 328.8 MB, free: 14.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3181, allocations: 56.69 kB / 328.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.3182, allocations: 105.7 kB / 329 MB, free: 14.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3182, allocations: 25.7 kB / 329 MB, free: 14.44 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.3183, allocations: 111.2 kB / 329.1 MB, free: 14.33 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.3183, allocations: 27.19 kB / 329.2 MB, free: 14.31 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3184, allocations: 30.3 kB / 329.2 MB, free: 14.28 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3185, allocations: 311.9 kB / 329.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.3186, allocations: 24.27 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.3186, allocations: 45.97 kB / 329.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3187, allocations: 72.45 kB / 329.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3187, allocations: 1.062 kB / 329.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001499/0.3189, allocations: 104.5 kB / 329.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3189, allocations: 5.562 kB / 329.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3189, allocations: 0 / 329.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3189, allocations: 6.094 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3191, allocations: 23.56 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3191, allocations: 4.984 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.3192, allocations: 20.41 kB / 329.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3192, allocations: 3.312 kB / 329.8 MB, free: 13.77 MB / 270.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.153e-05/0.3193, allocations: 122.1 kB / 329.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3193, allocations: 2.219 kB / 329.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3193, allocations: 9.625 kB / 329.9 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.3193, allocations: 9.078 kB / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3194, allocations: 0 / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3194, allocations: 1.125 kB / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.3196, allocations: 193.3 kB / 330.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3196, allocations: 1.125 kB / 330.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3197, allocations: 20.11 kB / 330.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3197, allocations: 0 / 330.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3197, allocations: 5.219 kB / 330.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3197, allocations: 5.281 kB / 330.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3197, allocations: 0 / 330.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.32, allocations: 195.3 kB / 330.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.32, allocations: 87.61 kB / 330.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.32, allocations: 1.281 kB / 330.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.3201, allocations: 8.906 kB / 330.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3202, allocations: 5.953 kB / 330.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3202, allocations: 2.375 kB / 330.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.167e-05/0.3202, allocations: 79.44 kB / 330.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3202, allocations: 1.094 kB / 330.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.3205, allocations: 21.91 kB / 330.6 MB, free: 13.03 MB / 270.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.0001253/0.3206, allocations: 100.7 kB / 330.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.3208, allocations: 63.05 kB / 330.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3208, allocations: 0 / 330.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.3208, allocations: 27.45 kB / 330.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.3212, allocations: 6.578 kB / 330.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.3219, allocations: 352.2 kB / 331.1 MB, free: 12.6 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.3221, allocations: 0.6983 MB / 331.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.3222, allocations: 7.844 kB / 331.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.3222, allocations: 10.94 kB / 331.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3222, allocations: 0 / 331.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of Templates: time 0.003619/0.3258, allocations: 0.6183 MB / 332.4 MB, free: 11.57 MB / 270.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)