Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 113.9 kB / 16.42 MB, free: 6.5 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.001018/0.001018, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006032/0.006032, allocations: 1.014 MB / 292.2 MB, free: 13.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.89 kB / 403.6 MB, free: 31.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0673/0.06847, allocations: 49.65 MB / 453.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001915/0.07042, allocations: 1.211 MB / 454.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.07304, allocations: 2.066 MB / 456.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.07307, allocations: 0 / 456.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.0731, allocations: 3.938 kB / 456.6 MB, free: 10.75 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001047/0.07416, allocations: 498.4 kB / 457.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.297e-06/0.07417, allocations: 0 / 457.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.07422, allocations: 11.94 kB / 457.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.104e-05/0.07425, allocations: 7.938 kB / 457.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.07428, allocations: 4 kB / 457.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.07456, allocations: 11.94 kB / 457.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-06/0.07458, allocations: 0 / 457.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.07526, allocations: 0.5228 MB / 457.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-06/0.07527, allocations: 0 / 457.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.07529, allocations: 3.938 kB / 457.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.07576, allocations: 375.1 kB / 458 MB, free: 9.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.07577, allocations: 0 / 458 MB, free: 9.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.07578, allocations: 3.938 kB / 458 MB, free: 9.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.07579, allocations: 0 / 458 MB, free: 9.336 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.0003518/0.07614, allocations: 426.5 kB / 458.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.07618, allocations: 8.031 kB / 458.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.07623, allocations: 80.2 kB / 458.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.07637, allocations: 251.6 kB / 458.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.07641, allocations: 154.9 kB / 458.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.07646, allocations: 154.7 kB / 459 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.947e-05/0.07651, allocations: 109 kB / 459.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.07654, allocations: 75.28 kB / 459.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.07658, allocations: 150.6 kB / 459.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.07663, allocations: 150.6 kB / 459.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.07667, allocations: 158.5 kB / 459.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.0769, allocations: 450 kB / 460.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.07697, allocations: 165.1 kB / 460.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.077, allocations: 88.08 kB / 460.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.07702, allocations: 75.28 kB / 460.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.07706, allocations: 113.8 kB / 460.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.07707, allocations: 8 kB / 460.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.129e-05/0.07714, allocations: 37.59 kB / 460.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.07717, allocations: 51.41 kB / 460.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.07726, allocations: 105.8 kB / 460.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.07727, allocations: 25.7 kB / 460.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.0773, allocations: 80.14 kB / 460.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.07731, allocations: 0 / 460.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.07733, allocations: 13.72 kB / 460.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.07742, allocations: 318.8 kB / 461.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-06/0.07743, allocations: 0 / 461.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-06/0.07744, allocations: 0 / 461.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.07746, allocations: 75.28 kB / 461.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.07749, allocations: 75.28 kB / 461.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.312e-05/0.07754, allocations: 37.58 kB / 461.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.07758, allocations: 81.94 kB / 461.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.07761, allocations: 83.27 kB / 461.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-05/0.07766, allocations: 158.5 kB / 461.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.073e-05/0.07769, allocations: 75.28 kB / 461.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-05/0.07773, allocations: 154.6 kB / 461.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.0778, allocations: 83.22 kB / 462 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.07783, allocations: 75.28 kB / 462 MB, free: 5.039 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 8.434e-05/0.07792, allocations: 261.1 kB / 462.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.07798, allocations: 116.8 kB / 462.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.07802, allocations: 108 kB / 462.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.743e-05/0.07807, allocations: 180.3 kB / 462.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/0.0781, allocations: 104.9 kB / 462.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.07816, allocations: 186.3 kB / 463 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.07823, allocations: 188.2 kB / 463.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.0783, allocations: 105 kB / 463.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.07836, allocations: 180.3 kB / 463.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.914e-05/0.07843, allocations: 267.4 kB / 463.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001256/0.07856, allocations: 383 kB / 464.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.134e-05/0.0786, allocations: 101 kB / 464.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.07864, allocations: 83.28 kB / 464.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of Backend: time 1.9e-07/0.07865, allocations: 0 / 464.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.07975, allocations: 497.7 kB / 464.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004037/0.08017, allocations: 0.9211 MB / 465.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of Templates: time 0.005529/0.08571, allocations: 3.074 MB / 468.7 MB, free: 14.24 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)