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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009941/0.0009944, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.439/1.439, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001618/0.001618, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.407e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09137, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4137, allocations: 71.32 MB / 420.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4139, allocations: 72.09 kB / 420.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004241/0.4182, allocations: 1.755 MB / 422.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4182, allocations: 0 / 422.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.4182, allocations: 6.344 kB / 422.6 MB, free: 10.57 MB / 298.7 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.0002786/0.4185, allocations: 363.1 kB / 422.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4186, allocations: 9.219 kB / 422.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.4187, allocations: 13.45 kB / 423 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.4188, allocations: 173.6 kB / 423.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4188, allocations: 9.531 kB / 423.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.4189, allocations: 10.25 kB / 423.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.419, allocations: 80.66 kB / 423.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.419, allocations: 6.953 kB / 423.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4191, allocations: 3.688 kB / 423.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4191, allocations: 7.828 kB / 423.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.4192, allocations: 50.64 kB / 423.3 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.4197, allocations: 405.2 kB / 423.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4199, allocations: 70.78 kB / 423.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.4199, allocations: 34.8 kB / 423.8 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.4199, allocations: 0 / 423.8 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.42, allocations: 30.56 kB / 423.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.42, allocations: 0 / 423.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001523/0.4201, allocations: 78.52 kB / 423.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.4202, allocations: 62.95 kB / 424 MB, free: 9.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.4202, allocations: 98.83 kB / 424.1 MB, free: 9.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.4202, allocations: 29.2 kB / 424.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.4203, allocations: 102.8 kB / 424.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.4203, allocations: 28.83 kB / 424.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4203, allocations: 0 / 424.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.4204, allocations: 320.8 kB / 424.5 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.4204, allocations: 19.84 kB / 424.5 MB, free: 8.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.4204, allocations: 43.83 kB / 424.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.4205, allocations: 25.52 kB / 424.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4205, allocations: 0 / 424.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001315/0.4206, allocations: 108.1 kB / 424.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4207, allocations: 8.656 kB / 424.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4207, allocations: 1.344 kB / 424.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4207, allocations: 1.406 kB / 424.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4208, allocations: 30.52 kB / 424.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4208, allocations: 1.344 kB / 424.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.4209, allocations: 15.36 kB / 424.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4209, allocations: 3.875 kB / 424.8 MB, free: 8.844 MB / 298.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.421, allocations: 105.8 kB / 424.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.421, allocations: 4.594 kB / 424.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.421, allocations: 9.688 kB / 424.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.421, allocations: 5.344 kB / 424.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.421, allocations: 0 / 424.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4211, allocations: 1.469 kB / 424.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4212, allocations: 197.1 kB / 425.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4212, allocations: 5.312 kB / 425.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.4213, allocations: 15.28 kB / 425.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4213, allocations: 1.281 kB / 425.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.4213, allocations: 0 / 425.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4213, allocations: 4.844 kB / 425.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4213, allocations: 4 kB / 425.1 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.4215, allocations: 198.1 kB / 425.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4215, allocations: 78.39 kB / 425.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4216, allocations: 8.547 kB / 425.4 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.4216, allocations: 4.625 kB / 425.4 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.4217, allocations: 6.531 kB / 425.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.4217, allocations: 2.438 kB / 425.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.404e-05/0.4217, allocations: 87.16 kB / 425.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4217, allocations: 0 / 425.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.4219, allocations: 31.34 kB / 425.5 MB, free: 8.191 MB / 298.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.477e-05/0.422, allocations: 97 kB / 425.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.4221, allocations: 54.03 kB / 425.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4221, allocations: 3.938 kB / 425.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.4222, allocations: 23.72 kB / 425.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.4223, allocations: 10.55 kB / 425.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.4228, allocations: 245.2 kB / 426 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.4229, allocations: 0.6936 MB / 426.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.4229, allocations: 10.14 kB / 426.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.4229, allocations: 11.28 kB / 426.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.423, allocations: 0 / 426.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of Templates: time 0.002253/0.4252, allocations: 0.5839 MB / 427.3 MB, free: 7.145 MB / 298.7 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)