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.00139/0.00139, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.00154/0.00154, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.007376/0.007376, allocations: 0.7993 MB / 260.4 MB, free: 12.28 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.573e-06/1.573e-06, allocations: 0 / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.062e-05, allocations: 2.312 kB / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001602/0.001622, allocations: 1.23 MB / 331 MB, free: 18.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.00398, allocations: 2.146 MB / 333.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.003997, allocations: 0 / 333.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.004016, allocations: 0 / 333.2 MB, free: 15.87 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.001146/0.005163, allocations: 478.1 kB / 333.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.005166, allocations: 4 kB / 333.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.391e-05/0.0052, allocations: 7.938 kB / 333.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.041e-05/0.005231, allocations: 0 / 333.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.005253, allocations: 7.984 kB / 333.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.005322, allocations: 11.92 kB / 333.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.744e-06/0.005329, allocations: 3.938 kB / 333.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.005993, allocations: 495.3 kB / 334.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-06/0.005999, allocations: 3.938 kB / 334.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.006017, allocations: 0 / 334.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.006541, allocations: 474.8 kB / 334.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006542, allocations: 0 / 334.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006543, allocations: 0 / 334.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.006546, allocations: 0 / 334.6 MB, free: 14.41 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.0003298/0.006876, allocations: 349.3 kB / 335 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.006908, allocations: 12.03 kB / 335 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.006945, allocations: 80.22 kB / 335.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.399e-05/0.007029, allocations: 193 kB / 335.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.007049, allocations: 150.9 kB / 335.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.007065, allocations: 150.9 kB / 335.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.092e-05/0.007106, allocations: 105.5 kB / 335.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.00712, allocations: 83.2 kB / 335.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.007139, allocations: 154.5 kB / 335.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.007156, allocations: 150.6 kB / 336 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.007179, allocations: 162.5 kB / 336.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.007327, allocations: 389.6 kB / 336.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.00737, allocations: 169.1 kB / 336.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.007385, allocations: 88.14 kB / 336.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.0074, allocations: 75.28 kB / 336.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.007422, allocations: 113.8 kB / 337 MB, free: 11.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.007422, allocations: 0 / 337 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.723e-05/0.00749, allocations: 37.56 kB / 337 MB, free: 11.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.007516, allocations: 126.7 kB / 337.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.007591, allocations: 101.9 kB / 337.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.017e-06/0.007595, allocations: 25.7 kB / 337.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.648e-05/0.007611, allocations: 80.14 kB / 337.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.007613, allocations: 0 / 337.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.00763, allocations: 21.75 kB / 337.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.744e-05/0.007668, allocations: 314.8 kB / 337.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-06/0.007672, allocations: 0 / 337.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.007674, allocations: 0 / 337.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.065e-05/0.007685, allocations: 79.28 kB / 337.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.007694, allocations: 75.28 kB / 337.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.475e-05/0.007739, allocations: 33.64 kB / 337.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.007757, allocations: 85.94 kB / 338 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.007768, allocations: 75.28 kB / 338 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.007801, allocations: 158.4 kB / 338.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.005e-05/0.007812, allocations: 79.27 kB / 338.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.007829, allocations: 158.6 kB / 338.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.007883, allocations: 83.16 kB / 338.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.007892, allocations: 75.28 kB / 338.6 MB, free: 10.28 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 4.723e-05/0.007939, allocations: 264.4 kB / 338.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.007972, allocations: 108.9 kB / 338.9 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.007993, allocations: 112.1 kB / 339.1 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.008014, allocations: 180.2 kB / 339.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.008039, allocations: 180.2 kB / 339.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.008062, allocations: 184.3 kB / 339.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.008164, allocations: 357.1 kB / 339.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.008178, allocations: 105 kB / 340 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.008191, allocations: 105 kB / 340.1 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.538e-05/0.008216, allocations: 188.2 kB / 340.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.008241, allocations: 180.3 kB / 340.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-05/0.008262, allocations: 184.2 kB / 340.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.117e-05/0.008283, allocations: 184.2 kB / 340.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.095e-05/0.008344, allocations: 303.8 kB / 341.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.008359, allocations: 105 kB / 341.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.00839, allocations: 184.2 kB / 341.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.008443, allocations: 101 kB / 341.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.00847, allocations: 188.1 kB / 341.7 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.008483, allocations: 105 kB / 341.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.008522, allocations: 87.27 kB / 341.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008522, allocations: 0 / 341.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004628/0.008985, allocations: 147.5 kB / 342.1 MB, free: 6.613 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.001147/0.01013, allocations: 0.613 MB / 342.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.448e-05/0.01017, allocations: 0 / 342.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01017, allocations: 0 / 342.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.01017, allocations: 3.938 kB / 342.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01043, allocations: 459.6 kB / 343.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.01064, allocations: 169.8 kB / 343.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.01067, allocations: 59.34 kB / 343.3 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.495e-06/0.01068, allocations: 4 kB / 343.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.0107, allocations: 12.5 kB / 343.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0107, allocations: 0 / 343.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of Templates: time 0.005721/0.01642, allocations: 3.24 MB / 346.6 MB, free: 2.082 MB / 266.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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.467281030025333]