Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007431/0.007431, allocations: 0.9634 MB / 9.036 MB, free: 1.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.5 MB / 231.2 MB, free: 6.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008244/0.0008244, allocations: 99.67 kB / 282.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.132e-05, allocations: 4 kB / 339.1 MB, free: 8.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 50.63 MB / 389.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3162/0.4167, allocations: 78.65 MB / 468.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4169, allocations: 71.91 kB / 468.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.4368, allocations: 7.038 MB / 475.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4368, allocations: 0 / 475.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4368, allocations: 4 kB / 475.5 MB, free: 6.742 MB / 346.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.0004682/0.4373, allocations: 442.3 kB / 476 MB, free: 6.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4374, allocations: 8.031 kB / 476 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.4374, allocations: 83.28 kB / 476 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4376, allocations: 242.3 kB / 476.3 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.4376, allocations: 150.6 kB / 476.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.4377, allocations: 158.5 kB / 476.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.274e-05/0.4378, allocations: 150.6 kB / 476.7 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.861e-05/0.4378, allocations: 108.9 kB / 476.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.4379, allocations: 75.28 kB / 476.9 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.4379, allocations: 150.6 kB / 477.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.438, allocations: 162.6 kB / 477.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.4382, allocations: 426.5 kB / 477.6 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.4383, allocations: 169.1 kB / 477.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.4384, allocations: 88.14 kB / 477.9 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.4384, allocations: 75.28 kB / 478 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.4384, allocations: 109.8 kB / 478.1 MB, free: 4.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4384, allocations: 0 / 478.1 MB, free: 4.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.701e-05/0.4385, allocations: 25.7 kB / 478.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.4386, allocations: 51.41 kB / 478.1 MB, free: 3.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.4387, allocations: 104.9 kB / 478.2 MB, free: 3.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.4387, allocations: 25.7 kB / 478.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.4388, allocations: 80.14 kB / 478.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.4388, allocations: 4 kB / 478.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-07/0.4388, allocations: 7.938 kB / 478.4 MB, free: 3.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.4389, allocations: 314.8 kB / 478.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-06/0.4389, allocations: 0 / 478.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-06/0.4389, allocations: 0 / 478.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.4389, allocations: 76.12 kB / 478.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/0.4389, allocations: 75.28 kB / 478.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.284e-05/0.439, allocations: 38.22 kB / 478.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.439, allocations: 83.22 kB / 478.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.4391, allocations: 79.28 kB / 479 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-05/0.4391, allocations: 158.5 kB / 479.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.86e-05/0.4392, allocations: 75.28 kB / 479.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.096e-05/0.4392, allocations: 154.5 kB / 479.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.4393, allocations: 79.27 kB / 479.5 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.4393, allocations: 87.17 kB / 479.6 MB, free: 2.496 MB / 346.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 () * 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.000101/0.4394, allocations: 263.5 kB / 479.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.4395, allocations: 105 kB / 479.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.4395, allocations: 108.7 kB / 480 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.389e-05/0.4396, allocations: 180.3 kB / 480.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-05/0.4397, allocations: 176.3 kB / 480.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.114e-05/0.4397, allocations: 188.2 kB / 480.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.4399, allocations: 385.8 kB / 480.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.4399, allocations: 105 kB / 481 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.44, allocations: 104.9 kB / 481.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-05/0.44, allocations: 176.3 kB / 481.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.4401, allocations: 181.2 kB / 481.5 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.422e-05/0.4402, allocations: 184.2 kB / 481.7 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.617e-05/0.4402, allocations: 176.3 kB / 481.8 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.4404, allocations: 311.7 kB / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.4404, allocations: 178.1 kB / 482.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/0.4405, allocations: 192.2 kB / 482.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.4406, allocations: 105.3 kB / 482.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.4407, allocations: 176.5 kB / 482.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.4407, allocations: 101 kB / 482.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.744e-05/0.4408, allocations: 95.22 kB / 483 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4408, allocations: 0 / 483 MB, free: 14.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000601/0.4414, allocations: 175.8 kB / 483.1 MB, free: 14.7 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 () * 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.001012/0.4424, allocations: 0.5917 MB / 483.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 2.871e-05/0.4424, allocations: 3.938 kB / 483.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4425, allocations: 0 / 483.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.4425, allocations: 0 / 483.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.4428, allocations: 0.5379 MB / 484.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.4429, allocations: 131.2 kB / 484.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.4432, allocations: 0.6768 MB / 485.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.877e-06/0.4432, allocations: 0 / 485.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.4433, allocations: 11.44 kB / 485.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4433, allocations: 0 / 485.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.005826/0.4491, allocations: 2.992 MB / 488.1 MB, free: 9.754 MB / 362.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)