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/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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 180.1 kB / 16.12 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004932/0.004932, allocations: 0.996 MB / 17.86 MB, free: 3.832 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.282/1.282, allocations: 223.3 MB / 242.1 MB, free: 8.711 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.0009579/0.0009577, allocations: 96.08 kB / 293.5 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003651, allocations: 12 kB / 354.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2145, allocations: 50.62 MB / 405.4 MB, free: 30.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08485/0.2994, allocations: 76.59 MB / 482 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.2996, allocations: 71.97 kB / 482.1 MB, free: 2.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004671/0.3043, allocations: 1.978 MB / 484 MB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3044, allocations: 5.25 kB / 484 MB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3044, allocations: 0 / 484 MB, free: 248 kB / 346.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.0003763/0.3048, allocations: 381.9 kB / 484.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3048, allocations: 9.531 kB / 484.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.3049, allocations: 4.844 kB / 484.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.305, allocations: 168.3 kB / 484.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3051, allocations: 384 / 484.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.3051, allocations: 4.375 kB / 484.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3052, allocations: 46.25 kB / 484.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3052, allocations: 192 / 484.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3052, allocations: 3.938 kB / 484.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3052, allocations: 0 / 484.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.3053, allocations: 15.98 kB / 484.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.3055, allocations: 161.6 kB / 484.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.147e-05/0.3056, allocations: 18.58 kB / 484.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.3056, allocations: 16.91 kB / 484.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.3056, allocations: 4 kB / 484.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3058, allocations: 110.8 kB / 485 MB, free: 15.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.3058, allocations: 0 / 485 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002342/0.3061, allocations: 103.1 kB / 485.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3061, allocations: 77.11 kB / 485.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.3062, allocations: 109.8 kB / 485.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3062, allocations: 29.83 kB / 485.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.3063, allocations: 84.14 kB / 485.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3063, allocations: 4 kB / 485.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-06/0.3063, allocations: 0 / 485.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3064, allocations: 318.8 kB / 485.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.3065, allocations: 8 kB / 485.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.3065, allocations: 21.7 kB / 485.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.926e-05/0.3066, allocations: 89.05 kB / 485.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3066, allocations: 0 / 485.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.3067, allocations: 83.39 kB / 485.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.3068, allocations: 41.67 kB / 485.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3068, allocations: 0 / 485.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3068, allocations: 3.938 kB / 485.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.3069, allocations: 7.938 kB / 485.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3069, allocations: 0 / 485.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.3069, allocations: 7.984 kB / 485.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3069, allocations: 4 kB / 485.9 MB, free: 14.06 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.221e-05/0.307, allocations: 135.5 kB / 486.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.307, allocations: 11.94 kB / 486.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.723e-05/0.3071, allocations: 3.531 kB / 486.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3071, allocations: 4 kB / 486.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3071, allocations: 7.984 kB / 486.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3071, allocations: 0 / 486.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.3072, allocations: 153.7 kB / 486.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3072, allocations: 0 / 486.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.3072, allocations: 4 kB / 486.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3073, allocations: 3.938 kB / 486.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3073, allocations: 4 kB / 486.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3073, allocations: 7.984 kB / 486.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3073, allocations: 0 / 486.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.3074, allocations: 106.8 kB / 486.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.3075, allocations: 81.02 kB / 486.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3075, allocations: 3.938 kB / 486.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.3076, allocations: 12.02 kB / 486.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3076, allocations: 8 kB / 486.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3076, allocations: 0 / 486.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.3077, allocations: 95.55 kB / 486.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3077, allocations: 3.938 kB / 486.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.3079, allocations: 20 kB / 486.6 MB, free: 13.3 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: 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 (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.0003821/0.3083, allocations: 196.4 kB / 486.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3085, allocations: 87.33 kB / 486.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3085, allocations: 0 / 486.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.3085, allocations: 63.39 kB / 486.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.3087, allocations: 8 kB / 486.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.309, allocations: 112.9 kB / 487.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.3092, allocations: 0.677 MB / 487.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.3092, allocations: 0 / 487.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.3092, allocations: 11.44 kB / 487.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3092, allocations: 0 / 487.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.002692/0.3119, allocations: 0.6719 MB / 488.4 MB, free: 11.44 MB / 362.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)