Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.WriteRealVariable.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.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") translateModel(KeyWordIO.Examples.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, 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.005212/0.005212, 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.442/1.442, allocations: 225.7 MB / 243.9 MB, free: 9.055 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.0007591/0.0007592, allocations: 100 kB / 295.3 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002929, allocations: 12 kB / 356.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 50.61 MB / 407.3 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.WriteRealVariable): time 0.001201/0.2381, allocations: 1.083 MB / 408.4 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2391, allocations: 1.059 MB / 409.4 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.2392, allocations: 0.5312 kB / 409.4 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.2392, allocations: 1.969 kB / 409.4 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.2394, allocations: 19.91 kB / 409.4 MB, free: 27.7 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/writeRealVariable.mo:2:1-14:22:writable] Warning: Pure function ‘KeyWordIO.writeRealVariable‘ contains a call to impure function ‘Modelica.Utilities.Files.removeFile‘. Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2396, allocations: 31.97 kB / 409.5 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.2396, allocations: 15.94 kB / 409.5 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.2397, allocations: 7.984 kB / 409.5 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.2397, allocations: 4.438 kB / 409.5 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2398, allocations: 21.33 kB / 409.5 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.2399, allocations: 0 / 409.5 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.24, allocations: 39.95 kB / 409.6 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.24, allocations: 7.875 kB / 409.6 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.24, allocations: 38.52 kB / 409.6 MB, free: 27.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2401, allocations: 43.88 kB / 409.6 MB, free: 27.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2401, allocations: 1.562 kB / 409.6 MB, free: 27.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2402, allocations: 4 kB / 409.7 MB, free: 27.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.2402, allocations: 0 / 409.7 MB, free: 27.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003249/0.2405, allocations: 373.3 kB / 410 MB, free: 27.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2405, allocations: 8.031 kB / 410 MB, free: 27.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.2406, allocations: 4.844 kB / 410 MB, free: 27.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2407, allocations: 168.3 kB / 410.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2407, allocations: 384 / 410.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2407, allocations: 5 kB / 410.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.2408, allocations: 41.78 kB / 410.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2409, allocations: 192 / 410.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2409, allocations: 3.938 kB / 410.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2409, allocations: 0 / 410.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.2409, allocations: 19.92 kB / 410.3 MB, free: 26.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.2411, allocations: 161.7 kB / 410.4 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.2411, allocations: 22.56 kB / 410.4 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.2412, allocations: 12.92 kB / 410.5 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2412, allocations: 0 / 410.5 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2414, allocations: 114.8 kB / 410.6 MB, free: 26.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.2414, allocations: 3.938 kB / 410.6 MB, free: 26.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002347/0.2416, allocations: 95.17 kB / 410.7 MB, free: 26.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2417, allocations: 81.11 kB / 410.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.2417, allocations: 105.8 kB / 410.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.2418, allocations: 29.83 kB / 410.9 MB, free: 26.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.2418, allocations: 84.14 kB / 411 MB, free: 25.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2418, allocations: 7.984 kB / 411 MB, free: 25.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.2418, allocations: 0 / 411 MB, free: 25.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.2419, allocations: 314.8 kB / 411.3 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.2419, allocations: 12 kB / 411.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-05/0.242, allocations: 25.7 kB / 411.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.242, allocations: 85.05 kB / 411.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2421, allocations: 0 / 411.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.2422, allocations: 87.33 kB / 411.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.2422, allocations: 37.64 kB / 411.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2422, allocations: 0 / 411.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2422, allocations: 0 / 411.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.2423, allocations: 7.984 kB / 411.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2423, allocations: 0 / 411.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.2424, allocations: 12 kB / 411.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.2424, allocations: 3.938 kB / 411.5 MB, free: 25.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.424e-05/0.2424, allocations: 139.6 kB / 411.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.2425, allocations: 7.922 kB / 411.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.2425, allocations: 7.531 kB / 411.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2425, allocations: 0 / 411.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2425, allocations: 0 / 411.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2425, allocations: 0 / 411.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.32e-05/0.2426, allocations: 161.7 kB / 411.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2426, allocations: 0 / 411.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.2426, allocations: 7.984 kB / 411.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2426, allocations: 3.938 kB / 411.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.2426, allocations: 4 kB / 411.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2426, allocations: 4.312 kB / 411.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2427, allocations: 0 / 411.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.2428, allocations: 110.8 kB / 412 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.2428, allocations: 85 kB / 412.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.2428, allocations: 7.875 kB / 412.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.2429, allocations: 8.031 kB / 412.1 MB, free: 24.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.2429, allocations: 4 kB / 412.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2429, allocations: 0 / 412.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.243, allocations: 95.25 kB / 412.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.243, allocations: 0 / 412.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.2432, allocations: 12 kB / 412.2 MB, free: 24.56 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: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0004421/0.2437, allocations: 219.8 kB / 412.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.2439, allocations: 83.33 kB / 412.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2439, allocations: 0 / 412.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.2439, allocations: 63.41 kB / 412.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2441, allocations: 7.938 kB / 412.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.2444, allocations: 120.9 kB / 412.7 MB, free: 24.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.667e-05/0.2445, allocations: 0.677 MB / 413.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.888e-05/0.2445, allocations: 4 kB / 413.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.2445, allocations: 7.438 kB / 413.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2445, allocations: 0 / 413.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of Templates: time 0.00282/0.2473, allocations: 0.6862 MB / 414 MB, free: 22.67 MB / 298.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.WriteRealVariable.makefile (rm -f KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.WriteRealVariable.sim & ./KeyWordIO_KeyWordIO.Examples.WriteRealVariable -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe 2>&1)