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.001269/0.001269, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001418/0.001418, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.682/1.682, allocations: 205.1 MB / 222 MB, free: 4.945 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.001177/0.001177, allocations: 47.94 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3276, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003105/0.3308, allocations: 1.689 MB / 326.4 MB, free: 0.4961 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.3317, allocations: 0.5072 MB / 326.9 MB, free: 96 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.3317, allocations: 6.25 kB / 326.9 MB, free: 92 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 6.111e-05/0.3318, allocations: 13.45 kB / 326.9 MB, free: 80 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.3319, allocations: 27.48 kB / 326.9 MB, free: 56 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3321, allocations: 16.3 kB / 326.9 MB, free: 44 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3322, allocations: 99.83 kB / 327 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3324, allocations: 31.31 kB / 327.1 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.3324, allocations: 37.23 kB / 327.1 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.3325, allocations: 45.17 kB / 327.1 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3326, allocations: 9.812 kB / 327.1 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.3327, allocations: 8.938 kB / 327.2 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.3327, allocations: 13.89 kB / 327.2 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.3327, allocations: 40.97 kB / 327.2 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3329, allocations: 103.2 kB / 327.3 MB, free: 15.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3329, allocations: 0 / 327.3 MB, free: 15.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3329, allocations: 0 / 327.3 MB, free: 15.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3329, allocations: 0 / 327.3 MB, free: 15.8 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.0005048/0.3335, allocations: 380.1 kB / 327.7 MB, free: 15.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3335, allocations: 10.53 kB / 327.7 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3336, allocations: 10.94 kB / 327.7 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.3338, allocations: 171 kB / 327.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3338, allocations: 11.06 kB / 327.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.3339, allocations: 16.25 kB / 327.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.334, allocations: 77.86 kB / 328 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3341, allocations: 0 / 328 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3341, allocations: 5.062 kB / 328 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3341, allocations: 6.812 kB / 328 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3342, allocations: 52.12 kB / 328 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.3349, allocations: 400.4 kB / 328.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3351, allocations: 70.94 kB / 328.5 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.3351, allocations: 40.47 kB / 328.5 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3352, allocations: 4.969 kB / 328.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3352, allocations: 32 kB / 328.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3352, allocations: 3.938 kB / 328.6 MB, free: 14.6 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002377/0.3354, allocations: 88.27 kB / 328.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3355, allocations: 52.62 kB / 328.7 MB, free: 14.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3356, allocations: 109 kB / 328.8 MB, free: 14.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3357, allocations: 34.83 kB / 328.8 MB, free: 14.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.3357, allocations: 104 kB / 329 MB, free: 14.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3358, allocations: 31.08 kB / 329 MB, free: 14.2 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3358, allocations: 20.81 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.336, allocations: 316.3 kB / 329.3 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.336, allocations: 27.83 kB / 329.3 MB, free: 13.85 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.3361, allocations: 50.53 kB / 329.4 MB, free: 13.81 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.663e-05/0.3362, allocations: 68.61 kB / 329.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3362, allocations: 0 / 329.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001594/0.3364, allocations: 113.2 kB / 329.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3364, allocations: 4.906 kB / 329.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3364, allocations: 1.281 kB / 329.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3364, allocations: 5.125 kB / 329.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3366, allocations: 28.3 kB / 329.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3366, allocations: 5.344 kB / 329.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.3366, allocations: 11.58 kB / 329.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3367, allocations: 7.812 kB / 329.6 MB, free: 13.66 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 0.000104/0.3368, allocations: 113.6 kB / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.3368, allocations: 2.938 kB / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.3368, allocations: 8.375 kB / 329.7 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3368, allocations: 9.031 kB / 329.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3368, allocations: 5.469 kB / 329.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3369, allocations: 3.984 kB / 329.8 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.3371, allocations: 190.6 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3371, allocations: 0 / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.3372, allocations: 19.67 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3372, allocations: 1.281 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3372, allocations: 1 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3372, allocations: 3.938 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3372, allocations: 1.125 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.3375, allocations: 195 kB / 330.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.3375, allocations: 87.36 kB / 330.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3375, allocations: 1.188 kB / 330.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.3376, allocations: 5.031 kB / 330.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3376, allocations: 6.297 kB / 330.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3376, allocations: 2.125 kB / 330.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.3377, allocations: 92 kB / 330.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3377, allocations: 0 / 330.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.3379, allocations: 23.06 kB / 330.4 MB, free: 12.92 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.0001059/0.3381, allocations: 100.1 kB / 330.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.3382, allocations: 57.92 kB / 330.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3382, allocations: 0 / 330.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.3383, allocations: 24.27 kB / 330.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3386, allocations: 11.05 kB / 330.6 MB, free: 12.78 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.3393, allocations: 352 kB / 330.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3396, allocations: 0.6908 MB / 331.6 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.3397, allocations: 11.39 kB / 331.6 MB, free: 11.78 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3397, allocations: 10.88 kB / 331.6 MB, free: 11.77 MB / 270.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3397, allocations: 1.125 kB / 331.6 MB, free: 11.77 MB / 270.1 MB Notification: Performance of Templates: time 0.003029/0.3427, allocations: 0.5792 MB / 332.2 MB, free: 11.49 MB / 270.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)