Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009452/0.0009454, allocations: 183.9 kB / 16.39 MB, free: 5.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.337/1.337, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001569/0.001569, allocations: 107.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09276, allocations: 44.49 MB / 355 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.3616, allocations: 73.3 MB / 428.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.3619, allocations: 75.28 kB / 428.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.3761, allocations: 6.148 MB / 434.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.3761, allocations: 1.25 kB / 434.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3761, allocations: 3.938 kB / 434.6 MB, free: 11.37 MB / 314.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.0004159/0.3766, allocations: 425.2 kB / 435 MB, free: 10.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3766, allocations: 8.031 kB / 435 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.3767, allocations: 79.62 kB / 435.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3768, allocations: 250 kB / 435.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3768, allocations: 152.3 kB / 435.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3768, allocations: 150.6 kB / 435.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.906e-05/0.3769, allocations: 101 kB / 435.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3769, allocations: 76.47 kB / 435.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.3769, allocations: 158.9 kB / 435.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.377, allocations: 155.2 kB / 436.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.377, allocations: 154.3 kB / 436.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.3772, allocations: 449.7 kB / 436.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.164e-05/0.3772, allocations: 172.5 kB / 436.8 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3773, allocations: 75.28 kB / 436.9 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.487e-05/0.3774, allocations: 50 kB / 437 MB, free: 8.824 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.3774, allocations: 1.75 kB / 437 MB, free: 8.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.3775, allocations: 32.89 kB / 437 MB, free: 8.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3775, allocations: 51.41 kB / 437.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.3776, allocations: 101.3 kB / 437.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.3776, allocations: 25.7 kB / 437.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.3776, allocations: 88.2 kB / 437.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.3777, allocations: 0 / 437.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.3777, allocations: 0 / 437.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.3777, allocations: 310.8 kB / 437.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.3777, allocations: 7.625 kB / 437.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-06/0.3777, allocations: 0 / 437.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.288e-05/0.3778, allocations: 0 / 437.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3778, allocations: 0 / 437.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.021e-05/0.3778, allocations: 47.08 kB / 437.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3778, allocations: 5.25 kB / 437.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3778, allocations: 0 / 437.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3778, allocations: 0 / 437.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.678e-05/0.3779, allocations: 0 / 437.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3779, allocations: 0 / 437.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.406e-05/0.3779, allocations: 3.938 kB / 437.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3779, allocations: 4 kB / 437.6 MB, free: 8.125 MB / 314.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.92e-05/0.378, allocations: 111.6 kB / 437.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.378, allocations: 11.89 kB / 437.8 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.378, allocations: 14.61 kB / 437.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.378, allocations: 192 / 437.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.378, allocations: 0 / 437.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.378, allocations: 3.984 kB / 437.8 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.3781, allocations: 152.9 kB / 437.9 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3781, allocations: 0 / 437.9 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-06/0.3781, allocations: 0 / 437.9 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3781, allocations: 3.953 kB / 437.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3782, allocations: 0 / 437.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3782, allocations: 0 / 437.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3782, allocations: 4 kB / 437.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.813e-05/0.3782, allocations: 57.06 kB / 438 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.3782, allocations: 81.09 kB / 438.1 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3783, allocations: 3.953 kB / 438.1 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.3783, allocations: 0 / 438.1 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.3783, allocations: 7.75 kB / 438.1 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-06/0.3783, allocations: 3.938 kB / 438.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.237e-05/0.3783, allocations: 87.86 kB / 438.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3783, allocations: 0 / 438.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000454/0.3788, allocations: 154.1 kB / 438.3 MB, free: 7.375 MB / 314.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008826/0.3797, allocations: 483.1 kB / 438.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.3798, allocations: 8 kB / 438.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3798, allocations: 0 / 438.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-06/0.3798, allocations: 7.672 kB / 438.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.3799, allocations: 9.094 kB / 438.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.3802, allocations: 117.4 kB / 438.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3803, allocations: 0.6731 MB / 439.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.3804, allocations: 7.984 kB / 439.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.3804, allocations: 15.42 kB / 439.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3804, allocations: 4 kB / 439.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of Templates: time 0.004664/0.3851, allocations: 2.658 MB / 442.3 MB, free: 3.453 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)