Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001364/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001421/0.001421, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.606/1.606, allocations: 205.1 MB / 222 MB, free: 4.77 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.001198/0.001198, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2501, allocations: 46.62 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003418/0.2536, allocations: 2.183 MB / 326.9 MB, free: 212 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.2545, allocations: 0.4989 MB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.2546, allocations: 6.938 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2548, allocations: 14.28 kB / 327.4 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.2549, allocations: 48.66 kB / 327.4 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.2551, allocations: 32.03 kB / 327.5 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.2553, allocations: 149.4 kB / 327.6 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2555, allocations: 45.14 kB / 327.6 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.2557, allocations: 57.19 kB / 327.7 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2558, allocations: 60.2 kB / 327.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2558, allocations: 16.28 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.2559, allocations: 10.81 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.2559, allocations: 27.39 kB / 327.8 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.256, allocations: 66.72 kB / 327.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.2562, allocations: 162.7 kB / 328 MB, free: 15.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2563, allocations: 0 / 328 MB, free: 15.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2563, allocations: 0 / 328 MB, free: 15.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2563, allocations: 0 / 328 MB, free: 15.34 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.0006019/0.2569, allocations: 440.5 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2569, allocations: 9.656 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.257, allocations: 17.88 kB / 328.5 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2573, allocations: 203.5 kB / 328.7 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2573, allocations: 9.359 kB / 328.7 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.2573, allocations: 11.59 kB / 328.7 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2576, allocations: 118.2 kB / 328.8 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2576, allocations: 1.188 kB / 328.8 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.2576, allocations: 5.156 kB / 328.8 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2577, allocations: 2.219 kB / 328.8 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.2578, allocations: 90.86 kB / 328.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.2587, allocations: 0.6019 MB / 329.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.2591, allocations: 89.5 kB / 329.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.2592, allocations: 31.44 kB / 329.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2592, allocations: 1.188 kB / 329.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2592, allocations: 31.72 kB / 329.7 MB, free: 13.83 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2592, allocations: 0 / 329.7 MB, free: 13.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007719/0.26, allocations: 257 kB / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.26, allocations: 56.97 kB / 330 MB, free: 13.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2602, allocations: 152.8 kB / 330.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2602, allocations: 25.7 kB / 330.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.2603, allocations: 131.6 kB / 330.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2604, allocations: 18 kB / 330.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.2604, allocations: 20.25 kB / 330.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2606, allocations: 320.9 kB / 330.6 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.2606, allocations: 27.83 kB / 330.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.2607, allocations: 45.09 kB / 330.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2609, allocations: 70.03 kB / 330.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2609, allocations: 9.031 kB / 330.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003002/0.2612, allocations: 146.8 kB / 330.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2612, allocations: 5.469 kB / 330.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2612, allocations: 0 / 330.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.2614, allocations: 35.16 kB / 331 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.2615, allocations: 10.52 kB / 331 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.263, allocations: 1.517 MB / 332.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.2631, allocations: 11.5 kB / 332.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2631, allocations: 6.281 kB / 332.5 MB, free: 11.16 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.0001249/0.2633, allocations: 125 kB / 332.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.2633, allocations: 7.656 kB / 332.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.2633, allocations: 11.83 kB / 332.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.2634, allocations: 8.953 kB / 332.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2634, allocations: 0 / 332.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2634, allocations: 3.938 kB / 332.7 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2636, allocations: 215.8 kB / 332.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2636, allocations: 0 / 332.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.2637, allocations: 11.48 kB / 332.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.2638, allocations: 33.72 kB / 332.9 MB, free: 10.74 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2638, allocations: 0 / 332.9 MB, free: 10.74 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.2651, allocations: 1.51 MB / 334.4 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2651, allocations: 0 / 334.4 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.2654, allocations: 216.8 kB / 334.6 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.2655, allocations: 87.5 kB / 334.7 MB, free: 8.949 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2655, allocations: 5.062 kB / 334.7 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2656, allocations: 8.406 kB / 334.7 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2657, allocations: 11.45 kB / 334.8 MB, free: 8.934 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2657, allocations: 2.25 kB / 334.8 MB, free: 8.934 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.2658, allocations: 108.1 kB / 334.9 MB, free: 8.844 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2658, allocations: 1.281 kB / 334.9 MB, free: 8.844 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.2662, allocations: 43.38 kB / 334.9 MB, free: 8.832 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.000131/0.2663, allocations: 103.7 kB / 335 MB, free: 8.738 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.2667, allocations: 191.6 kB / 335.2 MB, free: 8.582 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2667, allocations: 1.219 kB / 335.2 MB, free: 8.582 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.2669, allocations: 154.4 kB / 335.3 MB, free: 8.445 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.2672, allocations: 9.438 kB / 335.4 MB, free: 8.441 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.2678, allocations: 340.6 kB / 335.7 MB, free: 8.18 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2681, allocations: 0.707 MB / 336.4 MB, free: 7.469 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.2682, allocations: 11.89 kB / 336.4 MB, free: 7.461 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.2682, allocations: 9.75 kB / 336.4 MB, free: 7.453 MB / 270.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2682, allocations: 0 / 336.4 MB, free: 7.453 MB / 270.1 MB Notification: Performance of Templates: time 0.004097/0.2723, allocations: 1.381 MB / 337.8 MB, free: 6.273 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)