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.001246/0.001246, allocations: 180.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00496/0.00496, allocations: 1.002 MB / 17.73 MB, free: 4.004 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.255/1.255, allocations: 222.9 MB / 241.6 MB, free: 9.824 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.0009684/0.0009684, allocations: 104.5 kB / 292 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009512/0.0009514, allocations: 51.92 kB / 352.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1982, allocations: 49.63 MB / 402.1 MB, free: 31.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001761/0.2, allocations: 1.274 MB / 403.4 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.2022, allocations: 2.117 MB / 405.5 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.145e-05/0.2022, allocations: 0 / 405.5 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.2022, allocations: 0 / 405.5 MB, free: 28.58 MB / 298.7 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.0008044/0.203, allocations: 376 kB / 405.9 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.434e-06/0.203, allocations: 0 / 405.9 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.403e-05/0.2031, allocations: 15.92 kB / 405.9 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.2031, allocations: 0 / 405.9 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.2031, allocations: 7.938 kB / 405.9 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.2034, allocations: 8 kB / 405.9 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.2034, allocations: 0 / 405.9 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.2039, allocations: 471.5 kB / 406.4 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-06/0.2039, allocations: 0 / 406.4 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.2039, allocations: 11.94 kB / 406.4 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.2043, allocations: 379.3 kB / 406.7 MB, free: 27.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2043, allocations: 0 / 406.7 MB, free: 27.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2043, allocations: 0 / 406.7 MB, free: 27.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.2043, allocations: 0 / 406.7 MB, free: 27.34 MB / 298.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.0002705/0.2046, allocations: 421.5 kB / 407.2 MB, free: 26.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.2046, allocations: 12.03 kB / 407.2 MB, free: 26.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.2046, allocations: 76.22 kB / 407.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/0.2047, allocations: 251.5 kB / 407.5 MB, free: 26.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2048, allocations: 154.9 kB / 407.6 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2048, allocations: 154.7 kB / 407.8 MB, free: 26.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.396e-05/0.2048, allocations: 105 kB / 407.9 MB, free: 26.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2048, allocations: 83.22 kB / 408 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.2049, allocations: 150.6 kB / 408.1 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.2049, allocations: 150.6 kB / 408.3 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.2049, allocations: 154.6 kB / 408.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2051, allocations: 449.9 kB / 408.9 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.2051, allocations: 169.1 kB / 409 MB, free: 24.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.2051, allocations: 88.02 kB / 409.1 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.2051, allocations: 75.28 kB / 409.2 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.2052, allocations: 105.8 kB / 409.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2052, allocations: 4 kB / 409.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.523e-05/0.2052, allocations: 29.75 kB / 409.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.2053, allocations: 134.7 kB / 409.4 MB, free: 24.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.2053, allocations: 105.8 kB / 409.6 MB, free: 24.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.2053, allocations: 25.7 kB / 409.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.515e-05/0.2054, allocations: 80.14 kB / 409.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.2054, allocations: 0 / 409.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.2054, allocations: 9.719 kB / 409.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.2054, allocations: 322.8 kB / 410 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.2054, allocations: 3.938 kB / 410 MB, free: 23.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-06/0.2054, allocations: 0 / 410 MB, free: 23.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-06/0.2055, allocations: 79.22 kB / 410.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.2055, allocations: 75.28 kB / 410.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.358e-05/0.2055, allocations: 37.64 kB / 410.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2055, allocations: 81.78 kB / 410.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.2056, allocations: 79.22 kB / 410.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.2056, allocations: 154.6 kB / 410.5 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-06/0.2056, allocations: 79.53 kB / 410.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.2056, allocations: 158.5 kB / 410.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.2057, allocations: 79.28 kB / 410.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2057, allocations: 79.22 kB / 410.9 MB, free: 22.98 MB / 298.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 () * 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 4.419e-05/0.2057, allocations: 268.4 kB / 411.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.2058, allocations: 104.9 kB / 411.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.2058, allocations: 104.1 kB / 411.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.2058, allocations: 188.2 kB / 411.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.2058, allocations: 176.3 kB / 411.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.2059, allocations: 184.2 kB / 411.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.206, allocations: 409.2 kB / 412.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.206, allocations: 101 kB / 412.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.2061, allocations: 108.9 kB / 412.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-05/0.2061, allocations: 188.2 kB / 412.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2061, allocations: 184.2 kB / 412.8 MB, free: 20.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-05/0.2061, allocations: 180.3 kB / 413 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.669e-05/0.2062, allocations: 176.3 kB / 413.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.2063, allocations: 0.853 MB / 414 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.2063, allocations: 182.1 kB / 414.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.2064, allocations: 188.2 kB / 414.4 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.2064, allocations: 101 kB / 414.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.2065, allocations: 184.7 kB / 414.7 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2065, allocations: 104.9 kB / 414.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.566e-05/0.2065, allocations: 91.2 kB / 414.9 MB, free: 18.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2065, allocations: 0 / 414.9 MB, free: 18.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005098/0.207, allocations: 151.9 kB / 415 MB, free: 18.55 MB / 298.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 () * 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.0008154/0.2079, allocations: 0.5787 MB / 415.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.719e-05/0.2079, allocations: 3.938 kB / 415.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2079, allocations: 0 / 415.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/0.2079, allocations: 0 / 415.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2081, allocations: 0.5263 MB / 416.1 MB, free: 17.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.2083, allocations: 171.2 kB / 416.3 MB, free: 17.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.677e-05/0.2084, allocations: 0.6809 MB / 417 MB, free: 16.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.125e-06/0.2084, allocations: 0 / 417 MB, free: 16.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.2084, allocations: 19.44 kB / 417 MB, free: 16.58 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2084, allocations: 0 / 417 MB, free: 16.58 MB / 298.7 MB Notification: Performance of Templates: time 0.004448/0.2129, allocations: 3.045 MB / 420 MB, free: 13.54 MB / 298.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)