Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 112.1 kB / 16.37 MB, free: 6.344 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.001192/0.001192, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005933/0.005933, allocations: 1.007 MB / 292.2 MB, free: 13.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 403.6 MB, free: 31.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08815, allocations: 49.66 MB / 453.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002261/0.09046, allocations: 1.188 MB / 454.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.09357, allocations: 2.015 MB / 456.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.09361, allocations: 0 / 456.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.09363, allocations: 0 / 456.4 MB, free: 10.82 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.00113/0.09478, allocations: 454.6 kB / 456.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.09479, allocations: 3.938 kB / 456.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.09485, allocations: 11.94 kB / 456.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.0949, allocations: 3.984 kB / 456.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.09492, allocations: 0 / 456.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.09526, allocations: 11.94 kB / 456.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.09528, allocations: 0 / 456.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.09599, allocations: 0.4955 MB / 457.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-06/0.096, allocations: 0 / 457.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.09602, allocations: 4 kB / 457.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.09649, allocations: 347.4 kB / 457.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.0965, allocations: 0 / 457.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09651, allocations: 0 / 457.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.09652, allocations: 0 / 457.7 MB, free: 9.508 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004445/0.09697, allocations: 411.3 kB / 458.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.09701, allocations: 12.03 kB / 458.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.09707, allocations: 80.22 kB / 458.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.09723, allocations: 255.5 kB / 458.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.09729, allocations: 150.9 kB / 458.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.09734, allocations: 154.7 kB / 458.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.164e-05/0.09741, allocations: 101 kB / 458.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.09744, allocations: 75.28 kB / 459 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.09751, allocations: 154.6 kB / 459.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/0.09756, allocations: 150.6 kB / 459.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.09761, allocations: 154.6 kB / 459.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.09789, allocations: 449.9 kB / 459.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.09798, allocations: 173.1 kB / 460 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.09802, allocations: 88.08 kB / 460.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.09807, allocations: 79.28 kB / 460.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.09812, allocations: 109.8 kB / 460.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.09813, allocations: 0 / 460.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.691e-05/0.0982, allocations: 29.64 kB / 460.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.09827, allocations: 130.7 kB / 460.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.09839, allocations: 105.8 kB / 460.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.09841, allocations: 25.7 kB / 460.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.09845, allocations: 80.14 kB / 460.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.09846, allocations: 0 / 460.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.09849, allocations: 13.72 kB / 460.7 MB, free: 6.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.09862, allocations: 310.8 kB / 461 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.09863, allocations: 3.938 kB / 461 MB, free: 6.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.09864, allocations: 4 kB / 461 MB, free: 6.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.09867, allocations: 75.28 kB / 461 MB, free: 5.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-05/0.0987, allocations: 79.28 kB / 461.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.682e-05/0.09877, allocations: 45.55 kB / 461.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.09881, allocations: 83.28 kB / 461.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/0.09886, allocations: 75.28 kB / 461.3 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-05/0.09892, allocations: 154.6 kB / 461.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.09896, allocations: 83.22 kB / 461.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.547e-05/0.09902, allocations: 150.6 kB / 461.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.0991, allocations: 79.22 kB / 461.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.09913, allocations: 79.28 kB / 461.9 MB, free: 5.152 MB / 334.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.09925, allocations: 264.4 kB / 462.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.09932, allocations: 108.9 kB / 462.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.09938, allocations: 112.1 kB / 462.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-05/0.09945, allocations: 176.3 kB / 462.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-05/0.09951, allocations: 180.2 kB / 462.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.452e-05/0.09957, allocations: 184.2 kB / 462.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.09978, allocations: 405.1 kB / 463.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-05/0.09982, allocations: 109 kB / 463.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.09986, allocations: 105 kB / 463.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.835e-05/0.09994, allocations: 184.2 kB / 463.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.09999, allocations: 176.3 kB / 463.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.274e-05/0.1001, allocations: 184.2 kB / 464 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-05/0.1001, allocations: 180.3 kB / 464.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1003, allocations: 315.7 kB / 464.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1003, allocations: 178.5 kB / 464.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.1004, allocations: 184.2 kB / 464.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.1005, allocations: 101 kB / 464.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.1006, allocations: 184.3 kB / 465.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.1006, allocations: 108.9 kB / 465.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.1006, allocations: 83.28 kB / 465.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1006, allocations: 0 / 465.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004471/0.1011, allocations: 139.9 kB / 465.4 MB, free: 1.344 MB / 334.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.1021, allocations: 0.5562 MB / 466 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.157e-05/0.1022, allocations: 4 kB / 466 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1022, allocations: 0 / 466 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1022, allocations: 0 / 466 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1026, allocations: 466.4 kB / 466.5 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.1028, allocations: 194.5 kB / 466.6 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1032, allocations: 0.6727 MB / 467.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.1032, allocations: 11.44 kB / 467.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1032, allocations: 0 / 467.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Templates: time 0.005024/0.1083, allocations: 3.144 MB / 470.5 MB, free: 12.31 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)