Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package KeyWordIO with version 0.11.X (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 176.4 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.008436/0.008436, allocations: 1.035 MB / 17.22 MB, free: 4.609 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.7 MB / 243.9 MB, free: 9.043 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 98.03 kB / 295.3 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003041, allocations: 8 kB / 356.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2146, allocations: 50.62 MB / 407.3 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001016/0.2157, allocations: 0.9253 MB / 408.2 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.2181, allocations: 2.965 MB / 411.2 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.2181, allocations: 0 / 411.2 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.2181, allocations: 4.469 kB / 411.2 MB, free: 25.8 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.0008649/0.219, allocations: 352.7 kB / 411.5 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.565e-06/0.219, allocations: 0 / 411.5 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.018e-05/0.2191, allocations: 7.984 kB / 411.5 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.2191, allocations: 4 kB / 411.5 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.2191, allocations: 8.375 kB / 411.5 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.2194, allocations: 7.984 kB / 411.5 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.2194, allocations: 0.6562 kB / 411.5 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.2199, allocations: 408.2 kB / 411.9 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-06/0.2199, allocations: 0 / 411.9 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.2199, allocations: 38.72 kB / 412 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.2203, allocations: 347.4 kB / 412.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2203, allocations: 0 / 412.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2203, allocations: 1.812 kB / 412.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.2203, allocations: 4 kB / 412.3 MB, free: 24.64 MB / 298.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.0002698/0.2206, allocations: 409.5 kB / 412.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.2206, allocations: 8.031 kB / 412.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.2207, allocations: 84.22 kB / 412.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.2208, allocations: 239.7 kB / 413 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2208, allocations: 154.9 kB / 413.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.2208, allocations: 158.7 kB / 413.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.606e-05/0.2209, allocations: 105 kB / 413.5 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2209, allocations: 79.28 kB / 413.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.2209, allocations: 154.5 kB / 413.7 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2209, allocations: 150.6 kB / 413.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.2209, allocations: 150.6 kB / 414 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.2211, allocations: 449.9 kB / 414.4 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.2212, allocations: 169.1 kB / 414.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.2212, allocations: 92.02 kB / 414.7 MB, free: 22.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2212, allocations: 79.22 kB / 414.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2212, allocations: 109.8 kB / 414.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2212, allocations: 4 kB / 414.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.243e-05/0.2213, allocations: 29.61 kB / 414.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.2213, allocations: 134.7 kB / 415 MB, free: 21.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.2214, allocations: 101.8 kB / 415.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-06/0.2214, allocations: 25.7 kB / 415.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.2214, allocations: 84.14 kB / 415.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-06/0.2214, allocations: 0 / 415.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.2214, allocations: 0 / 415.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.2215, allocations: 310.8 kB / 415.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.2215, allocations: 7.938 kB / 415.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-06/0.2215, allocations: 0 / 415.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.241e-05/0.2215, allocations: 83.27 kB / 415.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.2215, allocations: 75.28 kB / 415.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.78e-05/0.2216, allocations: 29.69 kB / 415.7 MB, free: 21.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2216, allocations: 87.28 kB / 415.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2216, allocations: 75.28 kB / 415.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.2216, allocations: 154.5 kB / 416 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.023e-05/0.2217, allocations: 83.28 kB / 416.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.2217, allocations: 158.5 kB / 416.3 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.2217, allocations: 75.47 kB / 416.3 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2218, allocations: 79.27 kB / 416.4 MB, free: 20.31 MB / 298.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.927e-05/0.2218, allocations: 260.3 kB / 416.7 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.2219, allocations: 116.9 kB / 416.8 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.2219, allocations: 108.1 kB / 416.9 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.2219, allocations: 180.2 kB / 417.1 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.2219, allocations: 184.2 kB / 417.3 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/0.222, allocations: 180.2 kB / 417.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2221, allocations: 409.2 kB / 417.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.2221, allocations: 105 kB / 417.9 MB, free: 18.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.2221, allocations: 104.9 kB / 418 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.249e-05/0.2222, allocations: 180.2 kB / 418.2 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.2222, allocations: 180.2 kB / 418.4 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.703e-05/0.2222, allocations: 184.3 kB / 418.6 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.874e-05/0.2223, allocations: 188.2 kB / 418.7 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.767e-05/0.2223, allocations: 307.6 kB / 419 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.2224, allocations: 186 kB / 419.2 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.2224, allocations: 184.3 kB / 419.4 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.2225, allocations: 101 kB / 419.5 MB, free: 17.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.2225, allocations: 184.2 kB / 419.7 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2225, allocations: 101 kB / 419.8 MB, free: 16.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.445e-05/0.2226, allocations: 87.27 kB / 419.9 MB, free: 16.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2226, allocations: 0 / 419.9 MB, free: 16.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.223, allocations: 132 kB / 420 MB, free: 16.5 MB / 298.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.0008472/0.2238, allocations: 0.5957 MB / 420.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.578e-05/0.2239, allocations: 3.938 kB / 420.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2239, allocations: 4 kB / 420.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.2239, allocations: 0 / 420.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2241, allocations: 0.5301 MB / 421.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001789/0.2243, allocations: 171.8 kB / 421.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/0.2244, allocations: 0.6731 MB / 422 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.975e-06/0.2244, allocations: 0 / 422 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.261e-05/0.2245, allocations: 11.44 kB / 422 MB, free: 14.53 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2245, allocations: 4 kB / 422 MB, free: 14.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004673/0.2292, allocations: 2.851 MB / 424.8 MB, free: 11.67 MB / 298.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile (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)