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.001365/0.001365, allocations: 75.73 kB / 20.98 MB, free: 3.574 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.001707/0.001707, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9132/0.9132, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.003878/0.003878, allocations: 0.8025 MB / 261.9 MB, free: 12.3 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 2.515e-06/2.515e-06, allocations: 0 / 331.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.474e-05/3.725e-05, allocations: 6.25 kB / 331.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002626/0.002663, allocations: 1.249 MB / 332.6 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.005682, allocations: 2.255 MB / 334.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.00572, allocations: 3.938 kB / 334.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.005742, allocations: 0 / 334.9 MB, free: 15.73 MB / 266.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.001586/0.007327, allocations: 0.5098 MB / 335.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.007331, allocations: 4 kB / 335.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.007378, allocations: 7.938 kB / 335.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.007421, allocations: 0 / 335.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.007453, allocations: 7.938 kB / 335.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.007521, allocations: 7.938 kB / 335.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.00753, allocations: 0 / 335.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008838/0.008414, allocations: 0.5187 MB / 335.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.008423, allocations: 0 / 335.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.008439, allocations: 8 kB / 335.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.009142, allocations: 0.4948 MB / 336.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.009146, allocations: 0 / 336.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009148, allocations: 0 / 336.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.009154, allocations: 0 / 336.4 MB, free: 14.16 MB / 266.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.0003934/0.009547, allocations: 463.6 kB / 336.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.009591, allocations: 8.031 kB / 336.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.009646, allocations: 120.1 kB / 337 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.009757, allocations: 231.8 kB / 337.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.009782, allocations: 242.8 kB / 337.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.009805, allocations: 238.8 kB / 337.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.61e-05/0.009851, allocations: 153.4 kB / 337.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.009866, allocations: 123.1 kB / 338 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.009894, allocations: 250.3 kB / 338.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.009923, allocations: 238.4 kB / 338.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.009951, allocations: 238.4 kB / 338.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.01014, allocations: 0.5681 MB / 339.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.903e-05/0.0102, allocations: 273.4 kB / 339.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.01022, allocations: 126.9 kB / 339.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.01024, allocations: 119.2 kB / 339.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.01027, allocations: 156.6 kB / 339.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.01027, allocations: 4 kB / 339.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.994e-05/0.01034, allocations: 37.59 kB / 339.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.01037, allocations: 174.5 kB / 340.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.01046, allocations: 165.9 kB / 340.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-06/0.01047, allocations: 25.7 kB / 340.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.01049, allocations: 130.9 kB / 340.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.01049, allocations: 0 / 340.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.01052, allocations: 19.38 kB / 340.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.01058, allocations: 496.1 kB / 340.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.01058, allocations: 0 / 340.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.01059, allocations: 0 / 340.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.606e-05/0.0106, allocations: 123.2 kB / 341.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.01062, allocations: 123.2 kB / 341.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.381e-05/0.01067, allocations: 29.7 kB / 341.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.01071, allocations: 127.2 kB / 341.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.01073, allocations: 127.2 kB / 341.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/0.01076, allocations: 246.3 kB / 341.7 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.497e-05/0.01078, allocations: 127.1 kB / 341.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/0.0108, allocations: 242.4 kB / 342.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.01087, allocations: 123.2 kB / 342.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01088, allocations: 123.1 kB / 342.3 MB, free: 8.066 MB / 266.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.879e-05/0.01095, allocations: 399 kB / 342.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.01099, allocations: 144.9 kB / 342.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.01103, allocations: 160 kB / 343 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/0.01106, allocations: 272 kB / 343.2 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.129e-05/0.01109, allocations: 264.1 kB / 343.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.425e-05/0.01112, allocations: 272 kB / 343.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.01126, allocations: 499.9 kB / 344.3 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.01128, allocations: 152.8 kB / 344.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.01129, allocations: 144.9 kB / 344.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.113e-05/0.01133, allocations: 272 kB / 344.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.01136, allocations: 268.1 kB / 345.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.286e-05/0.01138, allocations: 264.1 kB / 345.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.85e-05/0.01142, allocations: 283.9 kB / 345.6 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.899e-05/0.01151, allocations: 440 kB / 346 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.01153, allocations: 148.9 kB / 346.2 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.01157, allocations: 272.6 kB / 346.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.01164, allocations: 152.8 kB / 346.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.01167, allocations: 280 kB / 346.9 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.01169, allocations: 148.8 kB / 347 MB, free: 3.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.01173, allocations: 127.2 kB / 347.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01173, allocations: 0 / 347.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000601/0.01233, allocations: 163.5 kB / 347.3 MB, free: 2.852 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.00129/0.01362, allocations: 0.6798 MB / 348 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.055e-05/0.01366, allocations: 0 / 348 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01367, allocations: 8 kB / 348 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.01367, allocations: 0 / 348 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.01397, allocations: 0.71 MB / 348.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.01443, allocations: 224 kB / 348.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.01446, allocations: 59.22 kB / 349 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.227e-06/0.01447, allocations: 0 / 349 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.01449, allocations: 20.48 kB / 349 MB, free: 1.184 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.0145, allocations: 0 / 349 MB, free: 1.184 MB / 266.7 MB Notification: Performance of Templates: time 0.00693/0.02143, allocations: 3.438 MB / 352.4 MB, free: 13.75 MB / 282.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.6529191660229117]