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.001011/0.001011, allocations: 169.2 kB / 7.64 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.007643/0.007643, allocations: 0.964 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.315/1.315, allocations: 221.5 MB / 231.2 MB, free: 6.414 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.0009285/0.0009284, allocations: 95.75 kB / 282.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.338e-05, allocations: 4 kB / 339.1 MB, free: 8.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09619, allocations: 50.63 MB / 389.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.3704, allocations: 75.83 MB / 465.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.3707, allocations: 64.83 kB / 465.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004844/0.3755, allocations: 1.687 MB / 467.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3755, allocations: 0 / 467.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3756, allocations: 0 / 467.3 MB, free: 14.92 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002862/0.3759, allocations: 364.2 kB / 467.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3759, allocations: 8.031 kB / 467.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.3759, allocations: 0 / 467.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3761, allocations: 171.1 kB / 467.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3761, allocations: 3.938 kB / 467.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.3761, allocations: 0 / 467.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.117e-05/0.3761, allocations: 4 kB / 467.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.302e-05/0.3762, allocations: 41.58 kB / 467.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3762, allocations: 0 / 467.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3762, allocations: 0 / 467.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3762, allocations: 4 kB / 467.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.3764, allocations: 134.2 kB / 468.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.27e-05/0.3764, allocations: 26.61 kB / 468.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.3764, allocations: 4.859 kB / 468.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.3765, allocations: 0.875 kB / 468.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.3766, allocations: 107.4 kB / 468.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3766, allocations: 0 / 468.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.3767, allocations: 41.61 kB / 468.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3767, allocations: 85.09 kB / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.3768, allocations: 101.8 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3768, allocations: 25.7 kB / 468.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.3769, allocations: 88.14 kB / 468.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.3769, allocations: 5.906 kB / 468.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.3769, allocations: 0 / 468.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.377, allocations: 310.8 kB / 468.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.377, allocations: 4 kB / 468.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.3771, allocations: 17.72 kB / 468.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.546e-05/0.3771, allocations: 7.984 kB / 468.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3771, allocations: 0 / 468.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.83e-05/0.3772, allocations: 45.55 kB / 468.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.3772, allocations: 29.7 kB / 468.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3772, allocations: 0 / 468.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.557e-06/0.3772, allocations: 0 / 468.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.3773, allocations: 12.11 kB / 469 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3773, allocations: 8.062 kB / 469 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.3774, allocations: 7.953 kB / 469 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3774, allocations: 0 / 469 MB, free: 13.06 MB / 346.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 () * 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 7.643e-05/0.3775, allocations: 134.7 kB / 469.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.3775, allocations: 0 / 469.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.3775, allocations: 11.95 kB / 469.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3775, allocations: 3.938 kB / 469.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3775, allocations: 0 / 469.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3775, allocations: 4 kB / 469.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.121e-05/0.3776, allocations: 142.1 kB / 469.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3776, allocations: 0 / 469.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.3777, allocations: 4 kB / 469.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3777, allocations: 3.938 kB / 469.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.3777, allocations: 0 / 469.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3777, allocations: 7.984 kB / 469.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3777, allocations: 0 / 469.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.3778, allocations: 73 kB / 469.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.3778, allocations: 77.11 kB / 469.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3779, allocations: 3.984 kB / 469.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.3779, allocations: 8 kB / 469.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.3779, allocations: 0 / 469.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.378, allocations: 0 / 469.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.378, allocations: 91.27 kB / 469.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.378, allocations: 0 / 469.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.3782, allocations: 20.03 kB / 469.5 MB, free: 12.4 MB / 346.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) * 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.0003453/0.3786, allocations: 190.9 kB / 469.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.3787, allocations: 63.41 kB / 469.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3787, allocations: 0 / 469.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.3787, allocations: 55.41 kB / 469.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.726e-05/0.3788, allocations: 20.36 kB / 469.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.379, allocations: 48.02 kB / 469.9 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.3792, allocations: 0.6845 MB / 470.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.3793, allocations: 7.922 kB / 470.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.3793, allocations: 11.44 kB / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3793, allocations: 0 / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Templates: time 0.002645/0.3819, allocations: 0.6471 MB / 471.3 MB, free: 10.63 MB / 346.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)