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.001233/0.001233, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.001225/0.001225, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005859/0.005859, allocations: 1.003 MB / 292.2 MB, free: 13.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.001141, allocations: 67.89 kB / 353.5 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.172, allocations: 49.65 MB / 403.1 MB, free: 35.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001769/0.1738, allocations: 1.194 MB / 404.3 MB, free: 34.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1758, allocations: 2.083 MB / 406.4 MB, free: 32.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.1758, allocations: 0 / 406.4 MB, free: 32.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.1758, allocations: 0 / 406.4 MB, free: 32.13 MB / 302.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 'KeyWordIO.readLineWithoutCache'. [/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.0008458/0.1767, allocations: 489.4 kB / 406.9 MB, free: 31.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.1767, allocations: 0 / 406.9 MB, free: 31.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.536e-05/0.1767, allocations: 19.92 kB / 406.9 MB, free: 31.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.1768, allocations: 7.922 kB / 406.9 MB, free: 31.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.1768, allocations: 7.938 kB / 406.9 MB, free: 31.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.1769, allocations: 7.594 kB / 406.9 MB, free: 31.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.1769, allocations: 0 / 406.9 MB, free: 31.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.1774, allocations: 0.5189 MB / 407.5 MB, free: 31.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-06/0.1774, allocations: 7.922 kB / 407.5 MB, free: 31.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.1774, allocations: 4 kB / 407.5 MB, free: 31.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1778, allocations: 375.4 kB / 407.8 MB, free: 30.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1778, allocations: 0 / 407.8 MB, free: 30.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1778, allocations: 0 / 407.8 MB, free: 30.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1778, allocations: 0 / 407.8 MB, free: 30.71 MB / 302.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.0002488/0.178, allocations: 419.9 kB / 408.3 MB, free: 30.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.1781, allocations: 12.03 kB / 408.3 MB, free: 30.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.1781, allocations: 80.16 kB / 408.3 MB, free: 30.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.1782, allocations: 251.6 kB / 408.6 MB, free: 29.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1782, allocations: 154.9 kB / 408.7 MB, free: 29.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1782, allocations: 158.7 kB / 408.9 MB, free: 29.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.975e-05/0.1783, allocations: 101 kB / 409 MB, free: 29.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1783, allocations: 75.28 kB / 409.1 MB, free: 29.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1783, allocations: 154.6 kB / 409.2 MB, free: 29.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.1783, allocations: 150.6 kB / 409.4 MB, free: 29.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.1784, allocations: 158.5 kB / 409.5 MB, free: 28.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.1785, allocations: 445.9 kB / 410 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.226e-05/0.1785, allocations: 169.1 kB / 410.1 MB, free: 28.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.1786, allocations: 84.08 kB / 410.2 MB, free: 28.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.1786, allocations: 79.28 kB / 410.3 MB, free: 28.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.1786, allocations: 109.8 kB / 410.4 MB, free: 28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1786, allocations: 0 / 410.4 MB, free: 28 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.305e-05/0.1787, allocations: 33.64 kB / 410.4 MB, free: 27.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.1787, allocations: 126.7 kB / 410.5 MB, free: 27.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.1787, allocations: 109.8 kB / 410.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-06/0.1788, allocations: 29.64 kB / 410.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.45e-05/0.1788, allocations: 84.14 kB / 410.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.1788, allocations: 0 / 410.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.1788, allocations: 9.719 kB / 410.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.1788, allocations: 322.8 kB / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-06/0.1788, allocations: 0 / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-06/0.1789, allocations: 0 / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-06/0.1789, allocations: 75.28 kB / 411.2 MB, free: 27.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.1789, allocations: 75.28 kB / 411.2 MB, free: 27.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.755e-05/0.1789, allocations: 41.58 kB / 411.3 MB, free: 27.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1789, allocations: 79.28 kB / 411.4 MB, free: 26.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.179, allocations: 79.33 kB / 411.4 MB, free: 26.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.179, allocations: 158.5 kB / 411.6 MB, free: 26.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-06/0.179, allocations: 75.28 kB / 411.7 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.179, allocations: 154.5 kB / 411.8 MB, free: 26.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.1791, allocations: 87.22 kB / 411.9 MB, free: 26.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1791, allocations: 79.28 kB / 412 MB, free: 26.35 MB / 302.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 3.999e-05/0.1791, allocations: 256.4 kB / 412.2 MB, free: 26.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1792, allocations: 108.9 kB / 412.3 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.1792, allocations: 108.1 kB / 412.4 MB, free: 25.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.1792, allocations: 184.2 kB / 412.6 MB, free: 25.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.1792, allocations: 184.2 kB / 412.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.1793, allocations: 176.3 kB / 413 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1794, allocations: 413.1 kB / 413.4 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.1794, allocations: 101 kB / 413.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.1794, allocations: 105 kB / 413.6 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.1794, allocations: 188.2 kB / 413.8 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1794, allocations: 176.5 kB / 413.9 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/0.1795, allocations: 188.2 kB / 414.1 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-05/0.1795, allocations: 184.3 kB / 414.3 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.239e-05/0.1796, allocations: 315.6 kB / 414.6 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.1796, allocations: 182.1 kB / 414.8 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1796, allocations: 180.2 kB / 415 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.1797, allocations: 105 kB / 415.1 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.1797, allocations: 184.2 kB / 415.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1797, allocations: 101.5 kB / 415.3 MB, free: 22.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.176e-05/0.1797, allocations: 95.2 kB / 415.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1797, allocations: 0 / 415.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00039/0.1801, allocations: 136 kB / 415.6 MB, free: 22.53 MB / 302.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.0007391/0.1809, allocations: 0.5756 MB / 416.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.131e-05/0.1809, allocations: 7.984 kB / 416.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1809, allocations: 0 / 416.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.1809, allocations: 7.938 kB / 416.2 MB, free: 22.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1812, allocations: 458.2 kB / 416.6 MB, free: 21.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001577/0.1813, allocations: 173.3 kB / 416.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.888e-05/0.1814, allocations: 0.6729 MB / 417.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.845e-06/0.1814, allocations: 4 kB / 417.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.1815, allocations: 11.44 kB / 417.5 MB, free: 20.65 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1815, allocations: 0 / 417.5 MB, free: 20.65 MB / 302.1 MB Notification: Performance of Templates: time 0.004507/0.186, allocations: 3.055 MB / 420.5 MB, free: 17.59 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 -s gbode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)