Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.WriteRealVariable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006553/0.006553, allocations: 1.013 MB / 305.5 MB, free: 3.383 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") translateModel(KeyWordIO.Examples.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 425.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2804, allocations: 52.35 MB / 477.7 MB, free: 28.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.WriteRealVariable): time 0.002084/0.2825, allocations: 1.383 MB / 479.1 MB, free: 27.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.2835, allocations: 0.8569 MB / 479.9 MB, free: 26.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.2835, allocations: 0 / 479.9 MB, free: 26.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.2836, allocations: 3.938 kB / 479.9 MB, free: 26.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.2837, allocations: 7.25 kB / 479.9 MB, free: 26.92 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0001897/0.2839, allocations: 51.28 kB / 480 MB, free: 26.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.284, allocations: 20.38 kB / 480 MB, free: 26.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.284, allocations: 0 / 480 MB, free: 26.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.2841, allocations: 14.8 kB / 480 MB, free: 26.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2842, allocations: 9.828 kB / 480 MB, free: 26.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.2842, allocations: 3.281 kB / 480 MB, free: 26.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.2843, allocations: 44.97 kB / 480.1 MB, free: 26.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.2843, allocations: 6.766 kB / 480.1 MB, free: 26.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.2843, allocations: 18.27 kB / 480.1 MB, free: 26.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2844, allocations: 46.72 kB / 480.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2844, allocations: 4 kB / 480.2 MB, free: 26.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2845, allocations: 0 / 480.2 MB, free: 26.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.2845, allocations: 0 / 480.2 MB, free: 26.81 MB / 366.1 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.0003384/0.2848, allocations: 372 kB / 480.5 MB, free: 26.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2848, allocations: 8 kB / 480.5 MB, free: 26.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.2849, allocations: 4.094 kB / 480.5 MB, free: 26.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.285, allocations: 171 kB / 480.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.285, allocations: 384 / 480.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.285, allocations: 384 / 480.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2851, allocations: 45.8 kB / 480.8 MB, free: 26.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2851, allocations: 192 / 480.8 MB, free: 26.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2851, allocations: 7.875 kB / 480.8 MB, free: 26.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2851, allocations: 3.984 kB / 480.8 MB, free: 26.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.544e-05/0.2852, allocations: 10.77 kB / 480.8 MB, free: 26.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.2853, allocations: 157.7 kB / 480.9 MB, free: 25.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.2853, allocations: 20.05 kB / 480.9 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.2854, allocations: 18.7 kB / 481 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.2854, allocations: 0 / 481 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.2855, allocations: 104.3 kB / 481.1 MB, free: 25.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2855, allocations: 0 / 481.1 MB, free: 25.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002295/0.2857, allocations: 90.11 kB / 481.2 MB, free: 25.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2857, allocations: 81.23 kB / 481.2 MB, free: 25.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.2858, allocations: 113.5 kB / 481.3 MB, free: 25.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.2858, allocations: 25.7 kB / 481.4 MB, free: 25.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.937e-05/0.2858, allocations: 83.47 kB / 481.5 MB, free: 25.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2858, allocations: 10.8 kB / 481.5 MB, free: 25.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.2859, allocations: 16.97 kB / 481.5 MB, free: 25.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.2859, allocations: 310.8 kB / 481.8 MB, free: 25.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.286, allocations: 6.531 kB / 481.8 MB, free: 25.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.286, allocations: 30.84 kB / 481.8 MB, free: 25.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.2861, allocations: 75.98 kB / 481.9 MB, free: 24.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2861, allocations: 0 / 481.9 MB, free: 24.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.2862, allocations: 84.22 kB / 482 MB, free: 24.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.2862, allocations: 43.12 kB / 482 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2862, allocations: 0 / 482 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2862, allocations: 0 / 482 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.2863, allocations: 2.938 kB / 482 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2863, allocations: 2.969 kB / 482 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.2863, allocations: 3.156 kB / 482 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2863, allocations: 3.281 kB / 482 MB, free: 24.87 MB / 366.1 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 5.878e-05/0.2864, allocations: 143.5 kB / 482.2 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.2864, allocations: 6.969 kB / 482.2 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.2864, allocations: 7.531 kB / 482.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2864, allocations: 0 / 482.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2864, allocations: 3.25 kB / 482.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2864, allocations: 0 / 482.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.089e-05/0.2865, allocations: 155 kB / 482.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2865, allocations: 2.875 kB / 482.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.2865, allocations: 6.438 kB / 482.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2865, allocations: 3.938 kB / 482.4 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2865, allocations: 4 kB / 482.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2865, allocations: 0 / 482.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2865, allocations: 7.938 kB / 482.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2867, allocations: 111 kB / 482.5 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.2867, allocations: 77.11 kB / 482.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2867, allocations: 3.938 kB / 482.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.84e-05/0.2867, allocations: 3.031 kB / 482.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.2868, allocations: 6.484 kB / 482.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2868, allocations: 4.031 kB / 482.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.774e-05/0.2868, allocations: 85.75 kB / 482.6 MB, free: 24.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2868, allocations: 0 / 482.6 MB, free: 24.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.287, allocations: 23.69 kB / 482.7 MB, free: 24.2 MB / 366.1 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.0004397/0.2875, allocations: 193.5 kB / 482.9 MB, free: 24.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.2876, allocations: 76.56 kB / 482.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2876, allocations: 4.125 kB / 482.9 MB, free: 24.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.2877, allocations: 61.38 kB / 483 MB, free: 23.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.2878, allocations: 9.188 kB / 483 MB, free: 23.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.2881, allocations: 123.8 kB / 483.1 MB, free: 23.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.2882, allocations: 0.682 MB / 483.8 MB, free: 23.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.2882, allocations: 0 / 483.8 MB, free: 23.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.2882, allocations: 10.59 kB / 483.8 MB, free: 23.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2882, allocations: 64 / 483.8 MB, free: 23.12 MB / 366.1 MB Notification: Performance of Templates: time 0.003646/0.2918, allocations: 0.7607 MB / 484.6 MB, free: 23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.WriteRealVariable.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.59861790202558]