Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009153/0.0009154, allocations: 164.4 kB / 7.635 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.132/1.132, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001609/0.001609, allocations: 111.4 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.401e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06563/0.06566, allocations: 38.77 MB / 301 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2442/0.3099, allocations: 66.83 MB / 367.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3102, allocations: 67.72 kB / 367.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.327, allocations: 6.851 MB / 374.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3271, allocations: 4 kB / 374.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3271, allocations: 0 / 374.7 MB, free: 12.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004564/0.3276, allocations: 417.4 kB / 375.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3276, allocations: 8.031 kB / 375.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.3277, allocations: 75.28 kB / 375.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.3279, allocations: 238.4 kB / 375.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.3279, allocations: 150.6 kB / 375.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.328, allocations: 157.9 kB / 375.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.36e-05/0.3281, allocations: 150.6 kB / 375.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.561e-05/0.3281, allocations: 123.1 kB / 376 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.3282, allocations: 79.22 kB / 376.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.3282, allocations: 150.6 kB / 376.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.3283, allocations: 154.6 kB / 376.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.3286, allocations: 426.1 kB / 376.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.3286, allocations: 165.1 kB / 377 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.3287, allocations: 80.14 kB / 377 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.3287, allocations: 75.28 kB / 377.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.3288, allocations: 117.8 kB / 377.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3288, allocations: 3.938 kB / 377.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.333e-05/0.3289, allocations: 37.03 kB / 377.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.3289, allocations: 51.41 kB / 377.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.329, allocations: 89 kB / 377.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.329, allocations: 25.7 kB / 377.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.3291, allocations: 83.83 kB / 377.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.3291, allocations: 4 kB / 377.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.3291, allocations: 0 / 377.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3292, allocations: 318.8 kB / 377.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.3292, allocations: 0 / 377.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-06/0.3292, allocations: 0 / 377.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.3292, allocations: 75.28 kB / 377.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/0.3293, allocations: 75.28 kB / 378 MB, free: 8.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.811e-05/0.3293, allocations: 38.31 kB / 378 MB, free: 8.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.3294, allocations: 87.19 kB / 378.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.3294, allocations: 75.28 kB / 378.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.393e-05/0.3295, allocations: 150.6 kB / 378.3 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-05/0.3295, allocations: 86.47 kB / 378.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.642e-05/0.3296, allocations: 150.6 kB / 378.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.3297, allocations: 87.22 kB / 378.6 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.3297, allocations: 79.22 kB / 378.7 MB, free: 7.977 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001055/0.3298, allocations: 259.5 kB / 379 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.3299, allocations: 104.9 kB / 379.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.3299, allocations: 104.7 kB / 379.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.665e-05/0.33, allocations: 183.7 kB / 379.3 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.945e-05/0.3301, allocations: 184.2 kB / 379.5 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.441e-05/0.3302, allocations: 180.3 kB / 379.7 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3304, allocations: 385.7 kB / 380.1 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.3304, allocations: 108.9 kB / 380.2 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.3305, allocations: 104.3 kB / 380.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.728e-05/0.3305, allocations: 180.2 kB / 380.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.3306, allocations: 184.3 kB / 380.6 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-05/0.3307, allocations: 180.3 kB / 380.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-05/0.3307, allocations: 184.8 kB / 381 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.3309, allocations: 303.2 kB / 381.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.3309, allocations: 186 kB / 381.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.331, allocations: 180.7 kB / 381.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.3311, allocations: 105 kB / 381.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.3312, allocations: 180.2 kB / 381.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.3312, allocations: 104.3 kB / 382 MB, free: 4.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.3313, allocations: 83.27 kB / 382.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3313, allocations: 3.938 kB / 382.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.3319, allocations: 146.3 kB / 382.3 MB, free: 4.234 MB / 266.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0009652/0.3329, allocations: 0.5315 MB / 382.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.152e-05/0.3329, allocations: 0 / 382.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3329, allocations: 0 / 382.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.3329, allocations: 7.5 kB / 382.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3332, allocations: 0.5262 MB / 383.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.3334, allocations: 131.2 kB / 383.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.3336, allocations: 0.669 MB / 384.1 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.322e-05/0.3336, allocations: 7.984 kB / 384.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.3337, allocations: 15.44 kB / 384.1 MB, free: 2.293 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3337, allocations: 3.938 kB / 384.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of Templates: time 0.005426/0.3391, allocations: 2.554 MB / 386.7 MB, free: 15.75 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)