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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008387/0.0008387, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002165, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007532/0.0007532, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009404/0.001694, allocations: 483.5 kB / 11.83 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9238/0.9238, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08362/1.007, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.003723/0.003723, allocations: 0.7839 MB / 245 MB, free: 13.98 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.005129, allocations: 0.6431 MB / 245.6 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.228e-05, allocations: 2.312 kB / 246.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001418/0.00143, allocations: 1.302 MB / 248.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.003505, allocations: 2.307 MB / 250.5 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.003521, allocations: 0 / 250.5 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.855e-06/0.003529, allocations: 3.938 kB / 250.5 MB, free: 8.426 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.12.1/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.0007368/0.004266, allocations: 469.8 kB / 251 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.004269, allocations: 4 kB / 251 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 3.476e-05/0.004303, allocations: 15.92 kB / 251 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.004338, allocations: 7.984 kB / 251 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.004383, allocations: 11.94 kB / 251 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.004418, allocations: 7.984 kB / 251 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.004426, allocations: 0 / 251 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.005047, allocations: 0.5734 MB / 251.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.005056, allocations: 0 / 251.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.28e-05/0.005069, allocations: 7.938 kB / 251.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.005473, allocations: 427 kB / 252 MB, free: 6.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.005482, allocations: 0 / 252 MB, free: 6.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.005483, allocations: 3.938 kB / 252 MB, free: 6.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.005491, allocations: 0 / 252 MB, free: 6.914 MB / 250.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.0002857/0.005777, allocations: 383.5 kB / 252.4 MB, free: 6.516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.424e-05/0.005801, allocations: 8.031 kB / 252.4 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.005833, allocations: 84.22 kB / 252.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.005921, allocations: 181.1 kB / 252.6 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.005954, allocations: 158.9 kB / 252.8 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.005985, allocations: 150.9 kB / 252.9 MB, free: 5.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.763e-05/0.006022, allocations: 105.5 kB / 253 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.00604, allocations: 83.22 kB / 253.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.006071, allocations: 158.5 kB / 253.3 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.006101, allocations: 150.6 kB / 253.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.006132, allocations: 154.5 kB / 253.6 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.006256, allocations: 353.3 kB / 253.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.006305, allocations: 169.1 kB / 254.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.006325, allocations: 84.14 kB / 254.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.00634, allocations: 75.28 kB / 254.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.006369, allocations: 109.8 kB / 254.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 4.91e-07/0.006369, allocations: 0 / 254.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.309e-05/0.006412, allocations: 37.69 kB / 254.4 MB, free: 4.414 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.00645, allocations: 130.6 kB / 254.5 MB, free: 4.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.006509, allocations: 106.7 kB / 254.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.006515, allocations: 25.7 kB / 254.7 MB, free: 4.125 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.006532, allocations: 80.14 kB / 254.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.21e-07/0.006533, allocations: 0 / 254.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.006547, allocations: 13.7 kB / 254.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.006611, allocations: 314.8 kB / 255 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-06/0.006613, allocations: 0 / 255 MB, free: 3.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-06/0.006616, allocations: 0 / 255 MB, free: 3.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.591e-05/0.006631, allocations: 75.28 kB / 255.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.006646, allocations: 83.22 kB / 255.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.841e-05/0.006675, allocations: 33.7 kB / 255.2 MB, free: 3.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.006699, allocations: 79.28 kB / 255.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.006718, allocations: 83.38 kB / 255.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.514e-05/0.006753, allocations: 158.5 kB / 255.6 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.58e-05/0.006768, allocations: 75.28 kB / 255.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/0.0068, allocations: 166.4 kB / 255.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.006838, allocations: 75.28 kB / 255.9 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.006854, allocations: 79.22 kB / 255.9 MB, free: 2.805 MB / 250.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 6.906e-05/0.006923, allocations: 260.4 kB / 256.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.006956, allocations: 113 kB / 256.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.00699, allocations: 116.1 kB / 256.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/0.007026, allocations: 180.2 kB / 256.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/0.00706, allocations: 180.2 kB / 256.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/0.007097, allocations: 180.3 kB / 256.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.007207, allocations: 321.4 kB / 257.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.007229, allocations: 101 kB / 257.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.007251, allocations: 104.9 kB / 257.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.007275, allocations: 109 kB / 257.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.542e-05/0.00731, allocations: 180.2 kB / 257.7 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.007349, allocations: 180.5 kB / 257.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.653e-05/0.007386, allocations: 188.3 kB / 258.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.83e-05/0.007424, allocations: 184.2 kB / 258.3 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.548e-05/0.0075, allocations: 307.7 kB / 258.6 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.00755, allocations: 180.6 kB / 258.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.00759, allocations: 105 kB / 258.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.007629, allocations: 184.2 kB / 259 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.007651, allocations: 109 kB / 259.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.209e-05/0.007663, allocations: 12.84 kB / 259.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007663, allocations: 0 / 259.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.007942, allocations: 163.3 kB / 259.3 MB, free: 15.24 MB / 266.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.0008907/0.008832, allocations: 0.7211 MB / 260 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.069e-05/0.008853, allocations: 3.938 kB / 260 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.008855, allocations: 4 kB / 260 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.008857, allocations: 0 / 260 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.009027, allocations: 471.6 kB / 260.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.009495, allocations: 180 kB / 260.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.31e-05/0.009518, allocations: 51.36 kB / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.085e-06/0.009526, allocations: 4 kB / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.009555, allocations: 51.38 kB / 260.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009555, allocations: 0 / 260.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Templates: time 0.004513/0.01407, allocations: 4.105 MB / 264.9 MB, free: 9.746 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile [Timeout 660] (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=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5868848506361246]