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.001796/0.001796, allocations: 119 kB / 16.42 MB, free: 6.473 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.001923/0.001923, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005995/0.005995, allocations: 1.006 MB / 292.2 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 403.6 MB, free: 31.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06922/0.07047, allocations: 49.64 MB / 453.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.00212/0.07263, allocations: 1.203 MB / 454.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.07587, allocations: 2.015 MB / 456.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.07592, allocations: 0 / 456.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.07596, allocations: 3.938 kB / 456.5 MB, free: 10.79 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.001362/0.07735, allocations: 450.6 kB / 456.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.07736, allocations: 0 / 456.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.652e-05/0.07741, allocations: 19.92 kB / 457 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.07746, allocations: 0 / 457 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.07748, allocations: 4 kB / 457 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.0776, allocations: 7.938 kB / 457 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.07761, allocations: 0 / 457 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.07833, allocations: 495.5 kB / 457.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.07835, allocations: 8 kB / 457.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.07837, allocations: 0 / 457.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.07886, allocations: 351.3 kB / 457.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.07888, allocations: 0 / 457.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.07888, allocations: 0 / 457.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.07889, allocations: 4 kB / 457.8 MB, free: 9.48 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.0003954/0.07929, allocations: 415.3 kB / 458.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.07933, allocations: 8.031 kB / 458.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.07938, allocations: 76.22 kB / 458.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.07953, allocations: 247.6 kB / 458.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.07959, allocations: 154.9 kB / 458.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.07964, allocations: 162.7 kB / 458.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.904e-05/0.0797, allocations: 101 kB / 459 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.07973, allocations: 75.28 kB / 459 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.07979, allocations: 158.5 kB / 459.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.07984, allocations: 154.5 kB / 459.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.07989, allocations: 150.6 kB / 459.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.08015, allocations: 449.9 kB / 459.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.08023, allocations: 169.1 kB / 460.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.08027, allocations: 88.02 kB / 460.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.0803, allocations: 75.28 kB / 460.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.08035, allocations: 109.8 kB / 460.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.08036, allocations: 0 / 460.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.542e-05/0.08043, allocations: 29.7 kB / 460.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.08046, allocations: 55.41 kB / 460.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.08056, allocations: 97.84 kB / 460.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.08058, allocations: 25.7 kB / 460.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.08062, allocations: 88.14 kB / 460.6 MB, free: 6.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.08062, allocations: 0 / 460.6 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.08065, allocations: 13.72 kB / 460.7 MB, free: 6.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.08077, allocations: 310.8 kB / 461 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.08078, allocations: 0 / 461 MB, free: 6.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.08079, allocations: 7.875 kB / 461 MB, free: 6.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.08083, allocations: 75.28 kB / 461 MB, free: 6.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.08085, allocations: 79.28 kB / 461.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.554e-05/0.08091, allocations: 33.62 kB / 461.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.08096, allocations: 86.3 kB / 461.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.081, allocations: 83.28 kB / 461.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.316e-05/0.08106, allocations: 158.5 kB / 461.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.201e-05/0.08109, allocations: 75.28 kB / 461.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.901e-05/0.08114, allocations: 154.5 kB / 461.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.08122, allocations: 79.28 kB / 461.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.08124, allocations: 75.28 kB / 461.8 MB, free: 5.211 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 9.669e-05/0.08135, allocations: 268.3 kB / 462.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.08141, allocations: 108.9 kB / 462.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.08145, allocations: 108.1 kB / 462.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-05/0.08152, allocations: 180.2 kB / 462.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/0.08156, allocations: 101 kB / 462.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.08163, allocations: 194.1 kB / 462.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.08171, allocations: 180.2 kB / 463 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.08179, allocations: 101 kB / 463.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.08186, allocations: 188.2 kB / 463.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000107/0.08198, allocations: 263.4 kB / 463.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001641/0.08215, allocations: 387 kB / 463.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.697e-05/0.0822, allocations: 101 kB / 464 MB, free: 2.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.08225, allocations: 87.2 kB / 464.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of Backend: time 2.01e-07/0.08226, allocations: 0 / 464.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.08339, allocations: 467.2 kB / 464.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004499/0.08385, allocations: 0.9128 MB / 465.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Templates: time 0.005623/0.08948, allocations: 2.879 MB / 468.3 MB, free: 14.63 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)