Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, 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.00141/0.00141, allocations: 197.8 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.52/1.52, 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.001403/0.001403, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2674, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003145/0.2706, allocations: 2.125 MB / 327.4 MB, free: 176 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.2715, allocations: 0.5064 MB / 327.9 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.2716, allocations: 2.969 kB / 327.9 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.2717, allocations: 21.17 kB / 328 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.515e-05/0.2718, allocations: 45.91 kB / 328 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.272, allocations: 37.55 kB / 328 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.2722, allocations: 155 kB / 328.2 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.2724, allocations: 57.3 kB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.2726, allocations: 65.77 kB / 328.3 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.2727, allocations: 63.09 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.2727, allocations: 12.41 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.2728, allocations: 23 kB / 328.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.2728, allocations: 28.22 kB / 328.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.2729, allocations: 74.42 kB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.2731, allocations: 163.5 kB / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2731, allocations: 5.328 kB / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2732, allocations: 0 / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.2732, allocations: 0 / 328.7 MB, free: 15.26 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005952/0.2738, allocations: 436.6 kB / 329.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2738, allocations: 9.031 kB / 329.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.2739, allocations: 21.67 kB / 329.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.2742, allocations: 203.7 kB / 329.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2742, allocations: 10.02 kB / 329.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.2742, allocations: 11.69 kB / 329.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2745, allocations: 125.6 kB / 329.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2745, allocations: 4 kB / 329.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.2745, allocations: 5.219 kB / 329.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2745, allocations: 3.438 kB / 329.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.2747, allocations: 74.08 kB / 329.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.2756, allocations: 0.6059 MB / 330.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2758, allocations: 81.91 kB / 330.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.2759, allocations: 31.56 kB / 330.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.276, allocations: 1.281 kB / 330.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.276, allocations: 39.69 kB / 330.3 MB, free: 13.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.276, allocations: 0 / 330.3 MB, free: 13.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006962/0.2767, allocations: 252.7 kB / 330.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2768, allocations: 60.7 kB / 330.6 MB, free: 13.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2769, allocations: 144.6 kB / 330.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.277, allocations: 26.77 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.768e-05/0.2771, allocations: 122.5 kB / 330.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2771, allocations: 30.84 kB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.2771, allocations: 19.09 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2773, allocations: 321.2 kB / 331.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-05/0.2774, allocations: 28.92 kB / 331.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.2774, allocations: 48.66 kB / 331.3 MB, free: 12.78 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.2776, allocations: 70.28 kB / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2776, allocations: 0 / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002958/0.2779, allocations: 142.5 kB / 331.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2779, allocations: 5.531 kB / 331.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.278, allocations: 1.094 kB / 331.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.2782, allocations: 34.41 kB / 331.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.2782, allocations: 14.73 kB / 331.6 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.2802, allocations: 1.698 MB / 333.3 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.2803, allocations: 11.09 kB / 333.3 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.2803, allocations: 3.25 kB / 333.3 MB, free: 10.91 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.2804, allocations: 123.2 kB / 333.4 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2804, allocations: 17.2 kB / 333.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.2805, allocations: 10.88 kB / 333.5 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2805, allocations: 1.062 kB / 333.5 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2805, allocations: 0 / 333.5 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2805, allocations: 0 / 333.5 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.2807, allocations: 211 kB / 333.7 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2807, allocations: 1.062 kB / 333.7 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.2808, allocations: 11.3 kB / 333.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.2809, allocations: 37 kB / 333.7 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.281, allocations: 5.375 kB / 333.7 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.2823, allocations: 1.681 MB / 335.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2823, allocations: 0 / 335.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.2827, allocations: 221.7 kB / 335.6 MB, free: 8.629 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.2827, allocations: 84.8 kB / 335.7 MB, free: 8.531 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.2828, allocations: 0 / 335.7 MB, free: 8.531 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2829, allocations: 4.406 kB / 335.7 MB, free: 8.531 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.2829, allocations: 14.48 kB / 335.7 MB, free: 8.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.283, allocations: 0.9688 kB / 335.7 MB, free: 8.52 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.2831, allocations: 118.3 kB / 335.8 MB, free: 8.422 MB / 270.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2831, allocations: 0 / 335.8 MB, free: 8.422 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.2835, allocations: 39.47 kB / 335.9 MB, free: 8.414 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.2836, allocations: 99.38 kB / 336 MB, free: 8.324 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.2841, allocations: 189.2 kB / 336.2 MB, free: 8.172 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2841, allocations: 320 / 336.2 MB, free: 8.172 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.2843, allocations: 159.9 kB / 336.3 MB, free: 8.031 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.2846, allocations: 20.66 kB / 336.3 MB, free: 8.016 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.2853, allocations: 290.3 kB / 336.6 MB, free: 7.805 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.2856, allocations: 0.7104 MB / 337.3 MB, free: 7.09 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.2856, allocations: 7.938 kB / 337.3 MB, free: 7.086 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.2857, allocations: 9.844 kB / 337.4 MB, free: 7.078 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2857, allocations: 0 / 337.4 MB, free: 7.078 MB / 270.1 MB Notification: Performance of Templates: time 0.004804/0.2905, allocations: 1.49 MB / 338.8 MB, free: 5.617 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)