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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 173.6 kB / 16.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005215/0.005216, allocations: 0.9861 MB / 17.85 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 242.1 MB, free: 8.734 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007432/0.0007432, allocations: 89.14 kB / 293.5 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 12 kB / 354.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 50.62 MB / 405.4 MB, free: 30.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.3226, allocations: 79.15 MB / 484.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.3229, allocations: 71.97 kB / 484.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01862/0.3415, allocations: 6.704 MB / 491.3 MB, free: 8.965 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3416, allocations: 0 / 491.3 MB, free: 8.965 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3416, allocations: 0 / 491.3 MB, free: 8.965 MB / 362.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.0005619/0.3422, allocations: 439.2 kB / 491.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3422, allocations: 12.03 kB / 491.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.3423, allocations: 84.2 kB / 491.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.3425, allocations: 243.6 kB / 492.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.3426, allocations: 154.9 kB / 492.2 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.3426, allocations: 154.9 kB / 492.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.753e-05/0.3427, allocations: 101.5 kB / 492.5 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/0.3428, allocations: 75.47 kB / 492.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.3428, allocations: 158.5 kB / 492.7 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/0.3429, allocations: 150.6 kB / 492.9 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.343, allocations: 154.5 kB / 493 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.3433, allocations: 449.9 kB / 493.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.842e-05/0.3434, allocations: 173.1 kB / 493.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.3435, allocations: 80.14 kB / 493.7 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3435, allocations: 75.28 kB / 493.8 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.3436, allocations: 113.8 kB / 493.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3436, allocations: 0 / 493.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.283e-05/0.3437, allocations: 36.64 kB / 493.9 MB, free: 6.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.3437, allocations: 130.7 kB / 494.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3439, allocations: 101.8 kB / 494.2 MB, free: 5.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3439, allocations: 25.7 kB / 494.2 MB, free: 5.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.3439, allocations: 84.14 kB / 494.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.344, allocations: 0 / 494.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.344, allocations: 0 / 494.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3441, allocations: 310.8 kB / 494.6 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.3441, allocations: 4 kB / 494.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.3441, allocations: 0 / 494.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.3442, allocations: 83.22 kB / 494.6 MB, free: 5.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.3442, allocations: 75.28 kB / 494.7 MB, free: 5.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.862e-05/0.3443, allocations: 29.7 kB / 494.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.3444, allocations: 83.27 kB / 494.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.3444, allocations: 79.22 kB / 494.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.143e-05/0.3445, allocations: 158.5 kB / 495.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-05/0.3445, allocations: 83.22 kB / 495.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.64e-05/0.3446, allocations: 158.5 kB / 495.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.3447, allocations: 75.28 kB / 495.4 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.3447, allocations: 79.27 kB / 495.5 MB, free: 4.605 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.3449, allocations: 264.5 kB / 495.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.345, allocations: 112.9 kB / 495.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.345, allocations: 116 kB / 495.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.469e-05/0.3451, allocations: 184.2 kB / 496.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.931e-05/0.3452, allocations: 176.3 kB / 496.3 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.032e-05/0.3453, allocations: 176.3 kB / 496.5 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.3456, allocations: 409.2 kB / 496.9 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/0.3456, allocations: 105 kB / 497 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.3457, allocations: 108.9 kB / 497.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.3457, allocations: 176.3 kB / 497.2 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/0.3458, allocations: 184.2 kB / 497.4 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001338/0.346, allocations: 180.2 kB / 497.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001086/0.3461, allocations: 180.3 kB / 497.8 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3463, allocations: 307.8 kB / 498.1 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.3464, allocations: 182.1 kB / 498.2 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.3465, allocations: 188.8 kB / 498.4 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.3466, allocations: 112.9 kB / 498.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.3467, allocations: 188.2 kB / 498.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.3467, allocations: 109 kB / 498.8 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.3468, allocations: 83.28 kB / 498.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3468, allocations: 0 / 498.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006936/0.3475, allocations: 155.9 kB / 499.1 MB, free: 0.7617 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.3486, allocations: 0.5861 MB / 499.7 MB, free: 244 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.404e-05/0.3487, allocations: 3.938 kB / 499.7 MB, free: 240 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3487, allocations: 3.938 kB / 499.7 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.3487, allocations: 0 / 499.7 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3491, allocations: 0.5263 MB / 0.4885 GB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.3493, allocations: 163.9 kB / 0.4886 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3496, allocations: 0.6731 MB / 0.4893 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.826e-06/0.3496, allocations: 0 / 0.4893 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.3496, allocations: 11.44 kB / 0.4893 GB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3496, allocations: 0 / 0.4893 GB, free: 14.8 MB / 378.7 MB Notification: Performance of Templates: time 0.006045/0.3557, allocations: 2.844 MB / 0.4921 GB, free: 11.95 MB / 378.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)