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.007394/0.007394, allocations: 169.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007122/0.007122, allocations: 0.9921 MB / 16.84 MB, free: 5.09 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.215/1.215, allocations: 223.2 MB / 241 MB, free: 8.918 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.0008871/0.000887, allocations: 93.31 kB / 292.4 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002913, allocations: 8 kB / 353.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 50.61 MB / 404.1 MB, free: 31.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08025/0.2708, allocations: 76.57 MB / 480.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.271, allocations: 71.91 kB / 480.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004247/0.2752, allocations: 1.979 MB / 482.7 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2753, allocations: 0 / 482.7 MB, free: 416 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2753, allocations: 0 / 482.7 MB, free: 416 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.0003001/0.2756, allocations: 373 kB / 483.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2756, allocations: 8.031 kB / 483.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.2757, allocations: 3.906 kB / 483.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2758, allocations: 172.9 kB / 483.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.2758, allocations: 3.938 kB / 483.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-06/0.2758, allocations: 0 / 483.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2759, allocations: 38.3 kB / 483.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2759, allocations: 7.953 kB / 483.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.276, allocations: 7.984 kB / 483.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.276, allocations: 0 / 483.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.276, allocations: 12 kB / 483.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.2762, allocations: 161.7 kB / 483.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.2762, allocations: 18.58 kB / 483.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.2762, allocations: 4 kB / 483.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.2764, allocations: 114.8 kB / 483.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.2764, allocations: 0 / 483.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002177/0.2766, allocations: 99.42 kB / 483.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.2767, allocations: 77.11 kB / 483.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.2768, allocations: 105 kB / 483.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2768, allocations: 25.7 kB / 484 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.2768, allocations: 84.12 kB / 484 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.2768, allocations: 11.91 kB / 484 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.2769, allocations: 0 / 484 MB, free: 14.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.277, allocations: 310.8 kB / 484.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.277, allocations: 16.02 kB / 484.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.2771, allocations: 21.66 kB / 484.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.2771, allocations: 37.69 kB / 484.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2771, allocations: 0 / 484.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.2772, allocations: 87.45 kB / 484.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.2773, allocations: 29.7 kB / 484.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2773, allocations: 3.984 kB / 484.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2773, allocations: 0 / 484.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.2774, allocations: 7.938 kB / 484.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2774, allocations: 11.89 kB / 484.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.2774, allocations: 4 kB / 484.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2774, allocations: 64 / 484.6 MB, free: 14.32 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.671e-05/0.2775, allocations: 143.5 kB / 484.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.2775, allocations: 3.906 kB / 484.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.2776, allocations: 11.53 kB / 484.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2776, allocations: 0 / 484.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2776, allocations: 0 / 484.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2776, allocations: 3.953 kB / 484.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.985e-05/0.2777, allocations: 157.7 kB / 484.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2777, allocations: 0 / 484.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.2777, allocations: 4 kB / 484.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.2777, allocations: 11.98 kB / 484.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.2777, allocations: 3.938 kB / 484.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2778, allocations: 0 / 484.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2778, allocations: 0 / 484.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.2779, allocations: 114.7 kB / 485 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.278, allocations: 85.05 kB / 485.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.278, allocations: 0 / 485.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/0.278, allocations: 4 kB / 485.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.2781, allocations: 4 kB / 485.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2781, allocations: 3.984 kB / 485.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.45e-05/0.2781, allocations: 87.28 kB / 485.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2781, allocations: 0 / 485.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.2783, allocations: 20 kB / 485.2 MB, free: 13.56 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.0003694/0.2787, allocations: 212.8 kB / 485.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.2789, allocations: 79.33 kB / 485.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2789, allocations: 3.938 kB / 485.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.2789, allocations: 59.41 kB / 485.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.423e-05/0.279, allocations: 7.984 kB / 485.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.2793, allocations: 112.8 kB / 485.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2795, allocations: 0.677 MB / 486.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.064e-05/0.2795, allocations: 7.984 kB / 486.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.2795, allocations: 7.438 kB / 486.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2795, allocations: 0 / 486.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Templates: time 0.002423/0.282, allocations: 0.6646 MB / 487 MB, free: 11.7 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)