Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.0008848/0.0008848, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009884/0.0009884, allocations: 172.3 kB / 24.87 MB, free: 9.262 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.99/0.99, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.004483/0.004483, allocations: 0.8081 MB / 262.6 MB, free: 12.1 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.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 332.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.67e-05, allocations: 4.703 kB / 332.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001273/0.00129, allocations: 1.242 MB / 333.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.00316, allocations: 2.189 MB / 336 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.003185, allocations: 0 / 336 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.003201, allocations: 0 / 336 MB, free: 15.17 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/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.0007449/0.003946, allocations: 486.1 kB / 336.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.585e-06/0.003949, allocations: 0 / 336.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.091e-05/0.00398, allocations: 11.92 kB / 336.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.004011, allocations: 4 kB / 336.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.004032, allocations: 7.938 kB / 336.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.004069, allocations: 4 kB / 336.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.004076, allocations: 0 / 336.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.004533, allocations: 0.4953 MB / 337 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-06/0.004539, allocations: 0 / 337 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.031e-05/0.004549, allocations: 4 kB / 337 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.004909, allocations: 474.8 kB / 337.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00491, allocations: 0 / 337.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.41e-07/0.004911, allocations: 3.938 kB / 337.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004915, allocations: 4 kB / 337.5 MB, free: 13.7 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.0003044/0.00522, allocations: 451.6 kB / 337.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.005254, allocations: 8.031 kB / 337.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.005286, allocations: 124.1 kB / 338.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.324e-05/0.005359, allocations: 235.8 kB / 338.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.005382, allocations: 238.8 kB / 338.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005401, allocations: 238.8 kB / 338.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.47e-05/0.005436, allocations: 149.4 kB / 338.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.005449, allocations: 127.1 kB / 339 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.005469, allocations: 238.4 kB / 339.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.005489, allocations: 242.4 kB / 339.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.005509, allocations: 246.4 kB / 339.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.005649, allocations: 0.5531 MB / 340.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.005694, allocations: 265.4 kB / 340.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.005707, allocations: 130.9 kB / 340.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.005718, allocations: 119.2 kB / 340.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.005738, allocations: 152.6 kB / 340.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.005739, allocations: 0 / 340.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.716e-05/0.005786, allocations: 29.7 kB / 341 MB, free: 10.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.005816, allocations: 174.5 kB / 341.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.715e-05/0.005873, allocations: 165.8 kB / 341.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-06/0.005876, allocations: 29.7 kB / 341.3 MB, free: 9.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.005892, allocations: 134.9 kB / 341.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-07/0.005893, allocations: 0 / 341.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.005912, allocations: 15.38 kB / 341.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.00595, allocations: 496.1 kB / 342 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-06/0.005953, allocations: 0 / 342 MB, free: 9.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.005956, allocations: 4 kB / 342 MB, free: 9.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.036e-05/0.005966, allocations: 123.1 kB / 342.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.005975, allocations: 119.2 kB / 342.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.135e-05/0.006017, allocations: 29.7 kB / 342.2 MB, free: 8.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.006035, allocations: 123.2 kB / 342.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.006052, allocations: 127.1 kB / 342.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.006076, allocations: 242.4 kB / 342.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.171e-05/0.006088, allocations: 139.2 kB / 342.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.006105, allocations: 238.4 kB / 343.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.00615, allocations: 123.2 kB / 343.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.006161, allocations: 127.1 kB / 343.3 MB, free: 7.641 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 5.16e-05/0.006212, allocations: 395 kB / 343.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.006242, allocations: 152.8 kB / 343.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.006265, allocations: 152 kB / 344 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.006287, allocations: 264.1 kB / 344.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-05/0.006321, allocations: 280 kB / 344.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.006341, allocations: 268 kB / 344.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.006446, allocations: 480.5 kB / 345.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.006459, allocations: 148.8 kB / 345.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.006472, allocations: 148.9 kB / 345.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.006494, allocations: 268.1 kB / 345.8 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.006514, allocations: 268 kB / 346.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.006531, allocations: 264.1 kB / 346.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/0.006549, allocations: 272 kB / 346.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.557e-05/0.006605, allocations: 455.9 kB / 347.1 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.006622, allocations: 148.9 kB / 347.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.006649, allocations: 268.1 kB / 347.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.006697, allocations: 153 kB / 347.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.00672, allocations: 272.4 kB / 347.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.006732, allocations: 156.8 kB / 348 MB, free: 2.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.443e-05/0.006756, allocations: 127.1 kB / 348.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006756, allocations: 0 / 348.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.007149, allocations: 155.5 kB / 348.3 MB, free: 2.465 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.0007829/0.007931, allocations: 0.6516 MB / 349 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00305/0.01098, allocations: 0 / 349 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01098, allocations: 4 kB / 349 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.01098, allocations: 0 / 349 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01122, allocations: 0.714 MB / 349.7 MB, free: 1.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/0.01138, allocations: 212.1 kB / 349.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.038e-05/0.0114, allocations: 63.2 kB / 349.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.514e-06/0.01141, allocations: 0 / 349.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.01143, allocations: 74.19 kB / 350 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01143, allocations: 0 / 350 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of Templates: time 0.01184/0.02327, allocations: 3.913 MB / 353.9 MB, free: 12.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8612917247228324]