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.00144/0.00144, allocations: 187.2 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.481/1.481, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001662/0.001662, allocations: 122 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.649e-05, allocations: 4 kB / 298.1 MB, free: 8.262 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 44.5 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4465, allocations: 72.54 MB / 415.1 MB, free: 23.33 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.4468, allocations: 69.06 kB / 415.2 MB, free: 23.3 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.4609, allocations: 5.789 MB / 421 MB, free: 18.77 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4609, allocations: 0 / 421 MB, free: 18.77 MB / 315.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.461, allocations: 4 kB / 421 MB, free: 18.77 MB / 315.1 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.0004399/0.4614, allocations: 424.9 kB / 421.4 MB, free: 18.32 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4615, allocations: 12.03 kB / 421.4 MB, free: 18.3 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.4615, allocations: 77 kB / 421.5 MB, free: 18.23 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.4617, allocations: 242.3 kB / 421.7 MB, free: 17.95 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.4618, allocations: 154.5 kB / 421.9 MB, free: 17.8 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.4618, allocations: 159 kB / 422 MB, free: 17.65 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.589e-05/0.4619, allocations: 155.1 kB / 422.2 MB, free: 17.5 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.133e-05/0.4619, allocations: 102.5 kB / 422.3 MB, free: 17.39 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4619, allocations: 75.28 kB / 422.3 MB, free: 17.32 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.462, allocations: 150.6 kB / 422.5 MB, free: 17.17 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.462, allocations: 154.5 kB / 422.6 MB, free: 17.02 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.4622, allocations: 433.4 kB / 423.1 MB, free: 16.56 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.4623, allocations: 170.8 kB / 423.2 MB, free: 16.39 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.4623, allocations: 80.14 kB / 423.3 MB, free: 16.3 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4624, allocations: 75.28 kB / 423.4 MB, free: 16.23 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.4625, allocations: 51.05 kB / 423.4 MB, free: 16.17 MB / 315.1 MB Notification: Performance of pre-optimization done (n=1): time 2.826e-06/0.4625, allocations: 4 kB / 423.4 MB, free: 16.17 MB / 315.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.4626, allocations: 33.59 kB / 423.5 MB, free: 16.13 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.4627, allocations: 55.41 kB / 423.5 MB, free: 16.06 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.4627, allocations: 92.31 kB / 423.6 MB, free: 15.97 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.4627, allocations: 25.7 kB / 423.6 MB, free: 15.94 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.4628, allocations: 80.14 kB / 423.7 MB, free: 15.86 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4628, allocations: 0 / 423.7 MB, free: 15.86 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.4628, allocations: 4.031 kB / 423.7 MB, free: 15.85 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.4629, allocations: 321.9 kB / 424 MB, free: 15.53 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.4629, allocations: 0 / 424 MB, free: 15.53 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.4629, allocations: 0 / 424 MB, free: 15.53 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.314e-05/0.4629, allocations: 0 / 424 MB, free: 15.53 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.4629, allocations: 4 kB / 424 MB, free: 15.53 MB / 315.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.463, allocations: 37.59 kB / 424.1 MB, free: 15.48 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.463, allocations: 4.75 kB / 424.1 MB, free: 15.48 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.463, allocations: 96 / 424.1 MB, free: 15.48 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.463, allocations: 4 kB / 424.1 MB, free: 15.48 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-05/0.4631, allocations: 4.5 kB / 424.1 MB, free: 15.47 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.4631, allocations: 0 / 424.1 MB, free: 15.47 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.4631, allocations: 4 kB / 424.1 MB, free: 15.47 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.4631, allocations: 0 / 424.1 MB, free: 15.47 MB / 315.1 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 () * 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 5.939e-05/0.4632, allocations: 108.8 kB / 424.2 MB, free: 15.36 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.4632, allocations: 9.047 kB / 424.2 MB, free: 15.35 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.4632, allocations: 7.75 kB / 424.2 MB, free: 15.35 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4633, allocations: 0 / 424.2 MB, free: 15.35 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4633, allocations: 4 kB / 424.2 MB, free: 15.34 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4633, allocations: 0 / 424.2 MB, free: 15.34 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.4634, allocations: 135.2 kB / 424.3 MB, free: 15.18 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4634, allocations: 0 / 424.3 MB, free: 15.18 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-06/0.4634, allocations: 0 / 424.3 MB, free: 15.18 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4634, allocations: 0 / 424.3 MB, free: 15.18 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.4635, allocations: 0 / 424.3 MB, free: 15.18 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4635, allocations: 3.953 kB / 424.3 MB, free: 15.17 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4635, allocations: 0 / 424.3 MB, free: 15.17 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.508e-05/0.4635, allocations: 71.12 kB / 424.4 MB, free: 15.09 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.4636, allocations: 82.05 kB / 424.5 MB, free: 14.99 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4636, allocations: 0 / 424.5 MB, free: 14.99 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.4636, allocations: 0 / 424.5 MB, free: 14.99 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.4636, allocations: 7.953 kB / 424.5 MB, free: 14.98 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4637, allocations: 0 / 424.5 MB, free: 14.98 MB / 315.1 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.4637, allocations: 90.81 kB / 424.6 MB, free: 14.9 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4637, allocations: 0 / 424.6 MB, free: 14.9 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.4642, allocations: 145.9 kB / 424.7 MB, free: 14.77 MB / 315.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: 1 ($whenCondition1) * Number of discrete 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.0009274/0.4651, allocations: 485.7 kB / 425.2 MB, free: 14.36 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.4652, allocations: 7.312 kB / 425.2 MB, free: 14.36 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4652, allocations: 4.062 kB / 425.2 MB, free: 14.35 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 4.628e-06/0.4652, allocations: 0 / 425.2 MB, free: 14.35 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.4653, allocations: 7.266 kB / 425.2 MB, free: 14.35 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000167/0.4655, allocations: 53.61 kB / 425.3 MB, free: 14.28 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4656, allocations: 0.6806 MB / 426 MB, free: 13.57 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.4656, allocations: 7.984 kB / 426 MB, free: 13.56 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.4657, allocations: 14.81 kB / 426 MB, free: 13.55 MB / 315.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4657, allocations: 0 / 426 MB, free: 13.55 MB / 315.1 MB Notification: Performance of Templates: time 0.005064/0.4707, allocations: 2.625 MB / 428.6 MB, free: 10.96 MB / 315.1 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)