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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007385/0.007385, allocations: 103 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 197.1 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006029/0.006029, allocations: 1.008 MB / 291.6 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 75.86 kB / 352 MB, free: 2.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09108, allocations: 49.65 MB / 401.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.1569/0.248, allocations: 1.268 MB / 403 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.2514, allocations: 2.102 MB / 405.1 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.87e-05/0.2515, allocations: 0 / 405.1 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.2515, allocations: 3.688 kB / 405.1 MB, free: 8.785 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readReal_m.mo:2:1-79:15:writable] Warning: Pure function ‘KeyWordIO.readReal_m‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.001948/0.2535, allocations: 375.8 kB / 405.4 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.2535, allocations: 0 / 405.4 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.2536, allocations: 14.59 kB / 405.4 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.2536, allocations: 2.094 kB / 405.4 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.2537, allocations: 7 kB / 405.5 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2538, allocations: 9.344 kB / 405.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.2538, allocations: 0 / 405.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.255, allocations: 471.2 kB / 405.9 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.188e-06/0.255, allocations: 5.062 kB / 405.9 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.255, allocations: 10.14 kB / 405.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006024/0.2557, allocations: 248.6 kB / 406.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2557, allocations: 0 / 406.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2557, allocations: 0 / 406.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2557, allocations: 1.375 kB / 406.2 MB, free: 8.367 MB / 286.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.0005193/0.2562, allocations: 418.2 kB / 406.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.2563, allocations: 8.656 kB / 406.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.2564, allocations: 82.89 kB / 406.7 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2565, allocations: 242.4 kB / 406.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.2566, allocations: 155.6 kB / 407.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.2566, allocations: 164.8 kB / 407.2 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.078e-05/0.2567, allocations: 108.9 kB / 407.3 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.2567, allocations: 75.28 kB / 407.4 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.2567, allocations: 152.7 kB / 407.6 MB, free: 6.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.2568, allocations: 150.6 kB / 407.7 MB, free: 6.812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.2568, allocations: 151.8 kB / 407.9 MB, free: 6.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.2571, allocations: 451.1 kB / 408.3 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.2572, allocations: 170.1 kB / 408.5 MB, free: 6.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.2572, allocations: 86.31 kB / 408.5 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2572, allocations: 75.28 kB / 408.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2573, allocations: 110.4 kB / 408.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.2573, allocations: 3.891 kB / 408.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001019/0.2574, allocations: 33.23 kB / 408.8 MB, free: 5.691 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.2574, allocations: 130.6 kB / 408.9 MB, free: 5.551 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2576, allocations: 105.1 kB / 409 MB, free: 5.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.2576, allocations: 25.7 kB / 409 MB, free: 5.418 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.2576, allocations: 81.36 kB / 409.1 MB, free: 5.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.2576, allocations: 5.094 kB / 409.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.2577, allocations: 11.88 kB / 409.1 MB, free: 5.316 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.2577, allocations: 313.2 kB / 409.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-06/0.2577, allocations: 0 / 409.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.2578, allocations: 0 / 409.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.2578, allocations: 76.31 kB / 409.5 MB, free: 4.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/0.2578, allocations: 82.09 kB / 409.6 MB, free: 4.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.466e-05/0.2579, allocations: 37.17 kB / 409.6 MB, free: 4.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.2579, allocations: 84.81 kB / 409.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.258, allocations: 80.28 kB / 409.8 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.021e-05/0.258, allocations: 152.7 kB / 409.9 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.615e-05/0.258, allocations: 80.28 kB / 410 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.73e-05/0.2581, allocations: 156.7 kB / 410.1 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.2582, allocations: 75.28 kB / 410.2 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2582, allocations: 85.33 kB / 410.3 MB, free: 4.121 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.2583, allocations: 262.6 kB / 410.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.2583, allocations: 110.9 kB / 410.7 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.2584, allocations: 110.2 kB / 410.8 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/0.2585, allocations: 178.4 kB / 411 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.438e-05/0.2585, allocations: 182.3 kB / 411.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.181e-05/0.2585, allocations: 185.2 kB / 411.3 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.2588, allocations: 404.6 kB / 411.7 MB, free: 2.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.2588, allocations: 106.4 kB / 411.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.2588, allocations: 106 kB / 411.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.529e-05/0.2589, allocations: 182.3 kB / 412.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.2589, allocations: 189.3 kB / 412.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.583e-05/0.259, allocations: 178.3 kB / 412.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-05/0.259, allocations: 183.3 kB / 412.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.263e-05/0.2591, allocations: 305 kB / 412.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.2592, allocations: 187.9 kB / 413.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.2592, allocations: 179.5 kB / 413.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.2593, allocations: 110.3 kB / 413.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.2594, allocations: 176.9 kB / 413.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2594, allocations: 106.8 kB / 413.7 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.2595, allocations: 89.45 kB / 413.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2595, allocations: 0 / 413.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009471/0.2604, allocations: 144.2 kB / 413.9 MB, free: 460 kB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.2622, allocations: 0.5745 MB / 414.5 MB, free: 180 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.202e-05/0.2623, allocations: 5.281 kB / 414.5 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2623, allocations: 0 / 414.5 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.2623, allocations: 0 / 414.5 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.2629, allocations: 0.5278 MB / 415 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.2633, allocations: 197.9 kB / 415.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.2637, allocations: 0.6732 MB / 415.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.2637, allocations: 13.95 kB / 415.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2637, allocations: 0 / 415.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01122/0.2749, allocations: 3.321 MB / 419.2 MB, free: 14.38 MB / 302.1 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)