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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 115.1 kB / 16.42 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 187.9 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006241/0.006241, allocations: 1.012 MB / 292.2 MB, free: 13.76 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 403.6 MB, free: 31.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06956/0.07087, allocations: 49.65 MB / 453.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.WriteRealVariable): time 0.002315/0.07322, allocations: 1.359 MB / 454.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.07437, allocations: 0.7935 MB / 455.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.07442, allocations: 0 / 455.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.07445, allocations: 7.938 kB / 455.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.07464, allocations: 15.94 kB / 455.5 MB, free: 11.82 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/writeRealVariable.mo:2:1-14:22:writable] Warning: Pure function 'KeyWordIO.writeRealVariable' contains a call to impure function 'Modelica.Utilities.Files.removeFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.07484, allocations: 39.88 kB / 455.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.07491, allocations: 23.92 kB / 455.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.07496, allocations: 8 kB / 455.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.07499, allocations: 7.938 kB / 455.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.07511, allocations: 11.98 kB / 455.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.07513, allocations: 3.938 kB / 455.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.68e-05/0.07524, allocations: 35.97 kB / 455.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.07526, allocations: 7.938 kB / 455.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.07529, allocations: 19.86 kB / 455.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.07543, allocations: 47.86 kB / 455.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.07544, allocations: 0 / 455.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.07545, allocations: 0 / 455.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.07546, allocations: 3.938 kB / 455.7 MB, free: 11.62 MB / 334.1 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.0003896/0.07585, allocations: 369 kB / 456 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.0759, allocations: 8.031 kB / 456 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.07594, allocations: 0.9375 kB / 456 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.07607, allocations: 176.3 kB / 456.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.07609, allocations: 4.375 kB / 456.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.0761, allocations: 4.375 kB / 456.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.07621, allocations: 34.25 kB / 456.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.07623, allocations: 192 / 456.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.07624, allocations: 3.938 kB / 456.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.07625, allocations: 0 / 456.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.07631, allocations: 11.94 kB / 456.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.07647, allocations: 157.7 kB / 456.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.07654, allocations: 34.59 kB / 456.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.07658, allocations: 12.91 kB / 456.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.0766, allocations: 0 / 456.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.07678, allocations: 102.8 kB / 456.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.07679, allocations: 0 / 456.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000228/0.07703, allocations: 99.2 kB / 456.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.07707, allocations: 77.11 kB / 456.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.07716, allocations: 109.8 kB / 456.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.07718, allocations: 25.7 kB / 456.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.07722, allocations: 84.14 kB / 457 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.07725, allocations: 4 kB / 457 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.07728, allocations: 9.719 kB / 457 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.0774, allocations: 319 kB / 457.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.07745, allocations: 11.98 kB / 457.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.07749, allocations: 13.72 kB / 457.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.07759, allocations: 85.05 kB / 457.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0776, allocations: 3.938 kB / 457.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001356/0.07774, allocations: 87.33 kB / 457.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.07778, allocations: 37.7 kB / 457.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.07779, allocations: 3.938 kB / 457.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.07781, allocations: 0 / 457.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.07787, allocations: 4 kB / 457.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.07788, allocations: 3.938 kB / 457.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.07792, allocations: 7.984 kB / 457.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.07793, allocations: 0 / 457.5 MB, free: 9.457 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/0.07802, allocations: 143.5 kB / 457.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.07804, allocations: 4 kB / 457.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.07807, allocations: 11.47 kB / 457.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.07808, allocations: 0 / 457.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.07808, allocations: 0 / 457.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.07812, allocations: 89.05 kB / 457.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.07814, allocations: 0 / 457.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.255e-05/0.07818, allocations: 4 kB / 457.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.07822, allocations: 4 kB / 457.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001848/0.07841, allocations: 214 kB / 458 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000192/0.07861, allocations: 248.5 kB / 458.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.374e-05/0.07867, allocations: 11.98 kB / 458.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.033e-05/0.07873, allocations: 91.27 kB / 458.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.07873, allocations: 4.062 kB / 458.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.07937, allocations: 229.2 kB / 458.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of SimCode: time 0.000403/0.07978, allocations: 0.6149 MB / 459.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of Templates: time 0.003064/0.08286, allocations: 0.8009 MB / 460 MB, free: 6.887 MB / 334.1 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)