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.001366/0.001366, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001706, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.466/1.466, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.00131/0.001311, allocations: 51.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2412, allocations: 46.63 MB / 325.3 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002732/0.2439, allocations: 1.627 MB / 326.9 MB, free: 0.5352 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.2448, allocations: 0.5141 MB / 327.4 MB, free: 128 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.2449, allocations: 7.531 kB / 327.5 MB, free: 124 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 5.849e-05/0.2449, allocations: 11.86 kB / 327.5 MB, free: 112 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.245, allocations: 23.66 kB / 327.5 MB, free: 92 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2453, allocations: 34.73 kB / 327.5 MB, free: 64 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.2454, allocations: 98.19 kB / 327.6 MB, free: 4 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2456, allocations: 31.91 kB / 327.6 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.2456, allocations: 33.22 kB / 327.7 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.2457, allocations: 41.12 kB / 327.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.2458, allocations: 11.69 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.2458, allocations: 11.19 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.2459, allocations: 22.7 kB / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.246, allocations: 44.39 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.2462, allocations: 101.7 kB / 327.9 MB, free: 15.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2462, allocations: 3.938 kB / 327.9 MB, free: 15.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2462, allocations: 0 / 327.9 MB, free: 15.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2462, allocations: 1.188 kB / 327.9 MB, free: 15.82 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.0005406/0.2467, allocations: 384.5 kB / 328.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2468, allocations: 9.094 kB / 328.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.2469, allocations: 11.28 kB / 328.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2471, allocations: 168 kB / 328.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2471, allocations: 7.406 kB / 328.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.2471, allocations: 14.34 kB / 328.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2473, allocations: 87.62 kB / 328.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2473, allocations: 5.453 kB / 328.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2474, allocations: 4 kB / 328.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2474, allocations: 2.781 kB / 328.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2475, allocations: 56 kB / 328.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.2481, allocations: 397.6 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2483, allocations: 74.58 kB / 329.1 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.2484, allocations: 32.52 kB / 329.1 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2484, allocations: 1.375 kB / 329.1 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2484, allocations: 35.61 kB / 329.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 2.485e-06/0.2484, allocations: 0 / 329.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002543/0.2487, allocations: 92.17 kB / 329.3 MB, free: 14.56 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2487, allocations: 52.56 kB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.2488, allocations: 109.7 kB / 329.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2488, allocations: 30.83 kB / 329.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.2489, allocations: 107.2 kB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2489, allocations: 26.75 kB / 329.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.249, allocations: 25.45 kB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2491, allocations: 316.1 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.2492, allocations: 23.92 kB / 329.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.2492, allocations: 46 kB / 330 MB, free: 13.83 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.29e-05/0.2493, allocations: 69.7 kB / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2493, allocations: 0 / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001522/0.2495, allocations: 104.4 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2495, allocations: 13.36 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2495, allocations: 1.219 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2495, allocations: 5.406 kB / 330.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2497, allocations: 27.47 kB / 330.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2497, allocations: 6.188 kB / 330.2 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.2497, allocations: 10.09 kB / 330.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.2497, allocations: 3 kB / 330.2 MB, free: 13.68 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 8.507e-05/0.2498, allocations: 117.2 kB / 330.3 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.2499, allocations: 3.25 kB / 330.3 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.2499, allocations: 9.281 kB / 330.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2499, allocations: 5.031 kB / 330.4 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2499, allocations: 0 / 330.4 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2499, allocations: 5.031 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2501, allocations: 198.3 kB / 330.6 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2501, allocations: 4 kB / 330.6 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.2503, allocations: 24.14 kB / 330.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2503, allocations: 1.344 kB / 330.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2503, allocations: 0 / 330.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2503, allocations: 5.312 kB / 330.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2503, allocations: 0 / 330.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2505, allocations: 191.9 kB / 330.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.2506, allocations: 82.23 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2506, allocations: 1.125 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.2506, allocations: 5.031 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.2507, allocations: 2.281 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.2507, allocations: 10.39 kB / 330.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.2507, allocations: 83.89 kB / 331 MB, free: 12.95 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2507, allocations: 0 / 331 MB, free: 12.95 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.251, allocations: 22.66 kB / 331 MB, free: 12.95 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 8.924e-05/0.2511, allocations: 99.72 kB / 331.1 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.2512, allocations: 63.36 kB / 331.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2512, allocations: 0 / 331.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.2513, allocations: 27 kB / 331.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2516, allocations: 7.406 kB / 331.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.2522, allocations: 315.9 kB / 331.5 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2525, allocations: 0.6998 MB / 332.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.2526, allocations: 6.25 kB / 332.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.2526, allocations: 10.97 kB / 332.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2526, allocations: 5.062 kB / 332.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of Templates: time 0.002959/0.2556, allocations: 0.6266 MB / 332.8 MB, free: 11.5 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)