Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009273/0.0009275, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004824/0.004824, allocations: 0.9744 MB / 14.23 MB, free: 1.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 236.3 MB, free: 13.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007994/0.0007993, allocations: 98.97 kB / 287.5 MB, free: 11.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.82e-05, allocations: 7.938 kB / 346 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 50.62 MB / 396.6 MB, free: 33.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09801/0.3445, allocations: 79.32 MB / 476 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.3448, allocations: 63.97 kB / 476 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02007/0.3649, allocations: 7.199 MB / 483.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3649, allocations: 0 / 483.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3649, allocations: 4 kB / 483.2 MB, free: 10.52 MB / 362.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.0004979/0.3654, allocations: 446.3 kB / 483.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3655, allocations: 8.031 kB / 483.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.3655, allocations: 79.28 kB / 483.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3657, allocations: 246.4 kB / 484 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.3658, allocations: 150.6 kB / 484.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.3658, allocations: 158.5 kB / 484.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.306e-05/0.3659, allocations: 101 kB / 484.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.3659, allocations: 79.23 kB / 484.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.366, allocations: 150.6 kB / 484.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/0.3661, allocations: 154.5 kB / 484.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.3661, allocations: 154.6 kB / 484.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3665, allocations: 446 kB / 485.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.3665, allocations: 169.1 kB / 485.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.3666, allocations: 88.08 kB / 485.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3666, allocations: 75.28 kB / 485.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.3667, allocations: 117.8 kB / 485.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3667, allocations: 0 / 485.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.695e-05/0.3668, allocations: 33.59 kB / 485.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.3668, allocations: 126.7 kB / 485.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.3669, allocations: 97 kB / 486 MB, free: 7.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3669, allocations: 25.7 kB / 486.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.367, allocations: 84.14 kB / 486.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.367, allocations: 0 / 486.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.367, allocations: 4 kB / 486.2 MB, free: 7.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3671, allocations: 314.8 kB / 486.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-06/0.3671, allocations: 0 / 486.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-06/0.3672, allocations: 0 / 486.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.993e-05/0.3672, allocations: 75.28 kB / 486.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/0.3672, allocations: 75.28 kB / 486.6 MB, free: 6.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.818e-05/0.3673, allocations: 33.7 kB / 486.6 MB, free: 6.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.3673, allocations: 79.28 kB / 486.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.3674, allocations: 87.22 kB / 486.8 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.716e-05/0.3674, allocations: 154.5 kB / 487 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.649e-05/0.3675, allocations: 83.27 kB / 487 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-05/0.3675, allocations: 158.5 kB / 487.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.3676, allocations: 79.28 kB / 487.3 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.3677, allocations: 79.22 kB / 487.3 MB, free: 6.168 MB / 362.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.0001206/0.3678, allocations: 259.5 kB / 487.6 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.3678, allocations: 108.9 kB / 487.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.3679, allocations: 108 kB / 487.8 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/0.368, allocations: 180.2 kB / 488 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.87e-05/0.368, allocations: 180.2 kB / 488.2 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-05/0.3681, allocations: 188.2 kB / 488.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3683, allocations: 401.2 kB / 488.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/0.3684, allocations: 108.9 kB / 488.8 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.3684, allocations: 101 kB / 488.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.745e-05/0.3685, allocations: 185.1 kB / 489.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/0.3686, allocations: 180.2 kB / 489.3 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.99e-05/0.3686, allocations: 188.2 kB / 489.5 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-05/0.3687, allocations: 180.5 kB / 489.7 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.3688, allocations: 311.7 kB / 490 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.3689, allocations: 186.1 kB / 490.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.369, allocations: 188.7 kB / 490.3 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.3691, allocations: 104.9 kB / 490.4 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.3691, allocations: 176.3 kB / 490.6 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.3692, allocations: 117 kB / 490.7 MB, free: 2.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.182e-05/0.3692, allocations: 83.28 kB / 490.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3693, allocations: 0 / 490.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005974/0.3699, allocations: 167.9 kB / 491 MB, free: 2.324 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.001076/0.3709, allocations: 0.6093 MB / 491.6 MB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.163e-05/0.371, allocations: 7.938 kB / 491.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.371, allocations: 0 / 491.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.371, allocations: 0 / 491.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3713, allocations: 0.5224 MB / 492.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.3715, allocations: 132.2 kB / 492.2 MB, free: 1.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3717, allocations: 0.677 MB / 492.9 MB, free: 424 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.372e-05/0.3718, allocations: 3.984 kB / 492.9 MB, free: 420 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.3718, allocations: 11.44 kB / 492.9 MB, free: 408 kB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3718, allocations: 0 / 492.9 MB, free: 408 kB / 362.7 MB Notification: Performance of Templates: time 0.005855/0.3776, allocations: 3.04 MB / 496 MB, free: 13.36 MB / 378.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)