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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 168.8 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.134/1.134, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001524/0.001525, allocations: 111.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.357e-05/1.351e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06548/0.06551, allocations: 38.78 MB / 301 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.3058, allocations: 65.35 MB / 366.3 MB, free: 3.016 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.306, allocations: 70.22 kB / 366.4 MB, free: 2.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00402/0.3101, allocations: 1.758 MB / 368.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3101, allocations: 0 / 368.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3101, allocations: 4 kB / 368.2 MB, free: 1.488 MB / 250.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.0002599/0.3104, allocations: 364.3 kB / 368.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3104, allocations: 8.031 kB / 368.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.3105, allocations: 11.91 kB / 368.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.3106, allocations: 163 kB / 368.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3106, allocations: 4 kB / 368.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3107, allocations: 7.906 kB / 368.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001284/0.3108, allocations: 51.25 kB / 368.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3109, allocations: 78.03 kB / 368.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3109, allocations: 0 / 368.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.311, allocations: 0 / 368.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.311, allocations: 4 kB / 368.8 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.3115, allocations: 368.8 kB / 369.2 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.3117, allocations: 67.73 kB / 369.3 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.3117, allocations: 26.94 kB / 369.3 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3117, allocations: 4 kB / 369.3 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3117, allocations: 38.11 kB / 369.3 MB, free: 276 kB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3117, allocations: 0 / 369.3 MB, free: 276 kB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.000154/0.3119, allocations: 64.59 kB / 369.4 MB, free: 212 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.3119, allocations: 58.78 kB / 369.4 MB, free: 144 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.312, allocations: 100.3 kB / 369.5 MB, free: 40 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.312, allocations: 25.7 kB / 369.6 MB, free: 8 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3121, allocations: 107.6 kB / 369.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.3122, allocations: 22.91 kB / 369.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.3122, allocations: 3.938 kB / 369.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3123, allocations: 318.8 kB / 370 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.3123, allocations: 22.69 kB / 370 MB, free: 15.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.3124, allocations: 37.95 kB / 370.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.3124, allocations: 28.73 kB / 370.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3124, allocations: 0 / 370.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001393/0.3126, allocations: 93.8 kB / 370.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3126, allocations: 7.953 kB / 370.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3126, allocations: 4 kB / 370.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3126, allocations: 0 / 370.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3128, allocations: 28.05 kB / 370.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3128, allocations: 3.938 kB / 370.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.3128, allocations: 7.906 kB / 370.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3129, allocations: 4 kB / 370.2 MB, free: 15.36 MB / 266.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 7.451e-05/0.3129, allocations: 105 kB / 370.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.313, allocations: 7.25 kB / 370.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.313, allocations: 12.02 kB / 370.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.313, allocations: 4 kB / 370.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.313, allocations: 4 kB / 370.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.313, allocations: 0 / 370.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3132, allocations: 157.3 kB / 370.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3132, allocations: 0.7969 kB / 370.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3134, allocations: 23.98 kB / 370.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3134, allocations: 0 / 370.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3134, allocations: 7.625 kB / 370.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3134, allocations: 0 / 370.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3134, allocations: 9.969 kB / 370.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3136, allocations: 185 kB / 370.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.3137, allocations: 85.05 kB / 370.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3137, allocations: 0 / 370.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.3137, allocations: 0 / 370.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.3138, allocations: 4 kB / 370.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3138, allocations: 3.953 kB / 370.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.3138, allocations: 86.89 kB / 370.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3138, allocations: 0 / 370.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000228/0.3141, allocations: 28 kB / 371 MB, free: 14.61 MB / 266.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 0.0001183/0.3142, allocations: 91.25 kB / 371 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3143, allocations: 49.56 kB / 371.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3143, allocations: 4 kB / 371.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.3144, allocations: 19.62 kB / 371.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.3146, allocations: 15.48 kB / 371.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.315, allocations: 244.4 kB / 371.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3154, allocations: 0.6924 MB / 372.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.3154, allocations: 11.94 kB / 372.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3154, allocations: 11.44 kB / 372.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3155, allocations: 0 / 372.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Templates: time 0.002487/0.3179, allocations: 0.5549 MB / 372.6 MB, free: 12.89 MB / 266.7 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)