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.001196/0.001196, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008593/0.0008593, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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.8438/0.8438, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.003495/0.003495, allocations: 0.787 MB / 260.7 MB, free: 12.46 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. " [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.152e-06/1.152e-06, allocations: 0 / 383.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.669e-05, allocations: 2.281 kB / 383.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001339/0.001356, allocations: 1.222 MB / 384.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.003303, allocations: 2.185 MB / 386.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.003321, allocations: 0 / 386.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.003339, allocations: 3.938 kB / 386.9 MB, free: 11.74 MB / 362.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.0008302/0.004169, allocations: 0.5082 MB / 387.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.377e-06/0.004173, allocations: 0 / 387.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.767e-05/0.00421, allocations: 15.92 kB / 387.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.004239, allocations: 0 / 387.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.004265, allocations: 7.984 kB / 387.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.004321, allocations: 7.938 kB / 387.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-06/0.004328, allocations: 0 / 387.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.004844, allocations: 0.5226 MB / 388 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-06/0.004849, allocations: 3.938 kB / 388 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.112e-05/0.00486, allocations: 4 kB / 388 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.005286, allocations: 498.8 kB / 388.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005288, allocations: 0 / 388.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005288, allocations: 0 / 388.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.005292, allocations: 4 kB / 388.5 MB, free: 10.18 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.0002866/0.005578, allocations: 365.2 kB / 388.9 MB, free: 9.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.005608, allocations: 8.031 kB / 388.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.005646, allocations: 76.22 kB / 388.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.005749, allocations: 197 kB / 389.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.00578, allocations: 150.9 kB / 389.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.005809, allocations: 150.9 kB / 389.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.441e-05/0.005853, allocations: 101.5 kB / 389.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.005871, allocations: 79.22 kB / 389.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.005904, allocations: 154.6 kB / 389.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.005934, allocations: 154.6 kB / 389.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.005967, allocations: 154.5 kB / 390.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.006356, allocations: 405.5 kB / 390.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.006416, allocations: 173.2 kB / 390.6 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.006437, allocations: 80.14 kB / 390.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.006454, allocations: 75.28 kB / 390.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.006483, allocations: 109.8 kB / 390.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 5.71e-07/0.006483, allocations: 0 / 390.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.089e-05/0.006534, allocations: 37.64 kB / 390.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.006573, allocations: 126.7 kB / 391 MB, free: 7.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.006647, allocations: 105.8 kB / 391.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.006654, allocations: 29.7 kB / 391.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.006676, allocations: 80.14 kB / 391.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.006678, allocations: 0 / 391.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.006693, allocations: 13.72 kB / 391.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.006759, allocations: 314.8 kB / 391.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-06/0.006762, allocations: 0 / 391.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.006766, allocations: 4 kB / 391.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.897e-05/0.006785, allocations: 79.28 kB / 391.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/0.0068, allocations: 79.22 kB / 391.7 MB, free: 6.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.861e-05/0.006829, allocations: 25.7 kB / 391.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.006856, allocations: 87.28 kB / 391.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.006873, allocations: 75.28 kB / 391.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/0.006911, allocations: 158.4 kB / 392.1 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.6e-05/0.006927, allocations: 79.28 kB / 392.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/0.006959, allocations: 158.5 kB / 392.3 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.007, allocations: 75.28 kB / 392.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.007017, allocations: 87.22 kB / 392.5 MB, free: 6.023 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 () * 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.565e-05/0.007083, allocations: 256.4 kB / 392.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.007115, allocations: 108.9 kB / 392.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.007143, allocations: 108.1 kB / 392.9 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/0.007179, allocations: 192.1 kB / 393.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-05/0.007216, allocations: 184.5 kB / 393.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/0.00725, allocations: 176.5 kB / 393.5 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.007362, allocations: 364.8 kB / 393.8 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.007383, allocations: 105 kB / 393.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.007405, allocations: 108.9 kB / 394 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.393e-05/0.007439, allocations: 184.2 kB / 394.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.007476, allocations: 176.3 kB / 394.4 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.623e-05/0.007513, allocations: 188.2 kB / 394.6 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-05/0.007547, allocations: 180.2 kB / 394.7 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.891e-05/0.007636, allocations: 307.7 kB / 395 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.007666, allocations: 113 kB / 395.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.007713, allocations: 180.2 kB / 395.3 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.007759, allocations: 101 kB / 395.4 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.007807, allocations: 188.1 kB / 395.6 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.007832, allocations: 101 kB / 395.7 MB, free: 2.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.007868, allocations: 87.27 kB / 395.8 MB, free: 2.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007869, allocations: 0 / 395.8 MB, free: 2.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.008182, allocations: 159.5 kB / 395.9 MB, free: 2.344 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 () * 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.000721/0.008903, allocations: 0.6324 MB / 396.6 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.378e-05/0.008937, allocations: 3.938 kB / 396.6 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008938, allocations: 0 / 396.6 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.008939, allocations: 4 kB / 396.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.009171, allocations: 459.7 kB / 397 MB, free: 1.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.009378, allocations: 201.9 kB / 397.2 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.36e-05/0.009411, allocations: 55.36 kB / 397.3 MB, free: 1.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.009428, allocations: 16.48 kB / 397.3 MB, free: 1 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009428, allocations: 0 / 397.3 MB, free: 1 MB / 362.7 MB Notification: Performance of Templates: time 0.003798/0.01323, allocations: 3.648 MB / 400.9 MB, free: 13.35 MB / 378.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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.666794177144766] Failed to read output from testmodel.py, exit status != 0: 0.018033521249890327 0.026223910000000003 0.019354476000000002 Calling exit ...