Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.conf.json 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/KeyWordIO 0.11.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) Running command: translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007236/0.007236, allocations: 0.964 MB / 9.036 MB, free: 1.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 231.2 MB, free: 6.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 92.62 kB / 282.3 MB, free: 3.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.391e-05, allocations: 8 kB / 339.1 MB, free: 8.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 50.62 MB / 389.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4562, allocations: 78.39 MB / 468.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4565, allocations: 68.81 kB / 468.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01781/0.4743, allocations: 6.375 MB / 474.6 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4744, allocations: 4.094 kB / 474.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.4744, allocations: 0 / 474.6 MB, free: 7.703 MB / 346.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.0006555/0.475, allocations: 438.2 kB / 475 MB, free: 7.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4751, allocations: 8.031 kB / 475 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.4751, allocations: 75.28 kB / 475.1 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.4753, allocations: 246.3 kB / 475.3 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.4754, allocations: 150.6 kB / 475.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.4754, allocations: 162.4 kB / 475.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.912e-05/0.4755, allocations: 154.6 kB / 475.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.143e-05/0.4756, allocations: 112.9 kB / 475.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.4756, allocations: 75.28 kB / 476 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.4757, allocations: 150.6 kB / 476.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.4758, allocations: 150.6 kB / 476.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.476, allocations: 430.5 kB / 476.7 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.695e-05/0.4761, allocations: 169.1 kB / 476.9 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.4761, allocations: 80.14 kB / 476.9 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.4762, allocations: 75.28 kB / 477 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4762, allocations: 109.8 kB / 477.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4762, allocations: 3.938 kB / 477.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.4763, allocations: 29.7 kB / 477.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4764, allocations: 51.41 kB / 477.2 MB, free: 4.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.4765, allocations: 100.9 kB / 477.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.4765, allocations: 25.7 kB / 477.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.4765, allocations: 80.14 kB / 477.4 MB, free: 4.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.4765, allocations: 4 kB / 477.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.4765, allocations: 0 / 477.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4767, allocations: 318.8 kB / 477.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-06/0.4767, allocations: 0 / 477.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.4767, allocations: 0 / 477.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.4767, allocations: 75.28 kB / 477.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.4767, allocations: 75.28 kB / 477.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.009e-05/0.4768, allocations: 33.64 kB / 477.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.4769, allocations: 83.27 kB / 478 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.4769, allocations: 79.28 kB / 478.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-05/0.477, allocations: 150.6 kB / 478.2 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.857e-05/0.477, allocations: 83.22 kB / 478.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.054e-05/0.4771, allocations: 150.6 kB / 478.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.4771, allocations: 75.28 kB / 478.5 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.4772, allocations: 83.17 kB / 478.6 MB, free: 3.484 MB / 346.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.0001018/0.4773, allocations: 261.4 kB / 478.9 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.4774, allocations: 109.6 kB / 479 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.4774, allocations: 108.8 kB / 479.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/0.4775, allocations: 180.2 kB / 479.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.639e-05/0.4776, allocations: 184.2 kB / 479.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.767e-05/0.4776, allocations: 180.3 kB / 479.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.4778, allocations: 389.7 kB / 480 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/0.4779, allocations: 105 kB / 480.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.4779, allocations: 101 kB / 480.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.359e-05/0.478, allocations: 188.2 kB / 480.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.4781, allocations: 185.2 kB / 480.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.275e-05/0.4781, allocations: 180.3 kB / 480.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.854e-05/0.4782, allocations: 180.2 kB / 480.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.4784, allocations: 311.7 kB / 481.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.4785, allocations: 182 kB / 481.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.4786, allocations: 180.3 kB / 481.6 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.4787, allocations: 109.4 kB / 481.7 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.4788, allocations: 184.2 kB / 481.8 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.4788, allocations: 101 kB / 481.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.4789, allocations: 87.45 kB / 482 MB, free: 15.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4789, allocations: 0 / 482 MB, free: 15.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006789/0.4796, allocations: 155.9 kB / 482.2 MB, free: 15.69 MB / 362.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.001156/0.4807, allocations: 0.5853 MB / 482.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.37e-05/0.4808, allocations: 0 / 482.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4808, allocations: 0 / 482.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.4808, allocations: 0 / 482.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.4812, allocations: 0.5275 MB / 483.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.4814, allocations: 127.2 kB / 483.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4817, allocations: 0.6729 MB / 484.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.217e-05/0.4817, allocations: 7.938 kB / 484.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.4818, allocations: 15.42 kB / 484.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4818, allocations: 0 / 484.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Templates: time 0.005821/0.4876, allocations: 2.785 MB / 486.9 MB, free: 10.97 MB / 362.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)