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.00145/0.001451, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001179/0.001179, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.64/1.64, 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.00717/0.007171, allocations: 0.9967 MB / 292.2 MB, free: 13.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001716, allocations: 59.91 kB / 353.5 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3274, allocations: 49.64 MB / 403.1 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002326/0.3298, allocations: 1.206 MB / 404.4 MB, free: 34.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.3324, allocations: 2.064 MB / 406.4 MB, free: 32.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.3325, allocations: 0 / 406.4 MB, free: 32.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.3325, allocations: 0 / 406.4 MB, free: 32.14 MB / 302.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.00117/0.3337, allocations: 495.1 kB / 406.9 MB, free: 31.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.348e-06/0.3337, allocations: 0 / 406.9 MB, free: 31.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.3338, allocations: 19.91 kB / 406.9 MB, free: 31.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.3338, allocations: 7.938 kB / 406.9 MB, free: 31.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.3338, allocations: 4 kB / 406.9 MB, free: 31.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.3341, allocations: 11.94 kB / 406.9 MB, free: 31.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3341, allocations: 0 / 406.9 MB, free: 31.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.3348, allocations: 0.5228 MB / 407.5 MB, free: 31.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.3348, allocations: 3.938 kB / 407.5 MB, free: 31.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.3348, allocations: 0 / 407.5 MB, free: 31.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.3352, allocations: 375.4 kB / 407.8 MB, free: 30.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3353, allocations: 4 kB / 407.8 MB, free: 30.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3353, allocations: 0 / 407.8 MB, free: 30.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3353, allocations: 0 / 407.8 MB, free: 30.72 MB / 302.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.0003915/0.3357, allocations: 421.2 kB / 408.2 MB, free: 30.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3357, allocations: 8.031 kB / 408.3 MB, free: 30.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.3358, allocations: 80.22 kB / 408.3 MB, free: 30.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.3359, allocations: 251.5 kB / 408.6 MB, free: 29.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.336, allocations: 154.9 kB / 408.7 MB, free: 29.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.336, allocations: 154.7 kB / 408.9 MB, free: 29.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.922e-05/0.3361, allocations: 105 kB / 409 MB, free: 29.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.3361, allocations: 75.28 kB / 409.1 MB, free: 29.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.3362, allocations: 154.5 kB / 409.2 MB, free: 29.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.3362, allocations: 150.6 kB / 409.4 MB, free: 29.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.3363, allocations: 154.5 kB / 409.5 MB, free: 28.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.3365, allocations: 453.9 kB / 410 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/0.3366, allocations: 165.1 kB / 410.1 MB, free: 28.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.3367, allocations: 88.08 kB / 410.2 MB, free: 28.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3367, allocations: 75.28 kB / 410.3 MB, free: 28.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3367, allocations: 109.8 kB / 410.4 MB, free: 28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.3368, allocations: 4 kB / 410.4 MB, free: 28 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 9.009e-05/0.3369, allocations: 29.64 kB / 410.4 MB, free: 27.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3369, allocations: 126.7 kB / 410.5 MB, free: 27.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.337, allocations: 109.8 kB / 410.6 MB, free: 27.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.337, allocations: 29.64 kB / 410.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.3371, allocations: 88.12 kB / 410.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.3371, allocations: 0 / 410.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.3371, allocations: 9.719 kB / 410.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.3372, allocations: 322.8 kB / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.3372, allocations: 0 / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-06/0.3372, allocations: 0 / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.3373, allocations: 79.28 kB / 411.2 MB, free: 27.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.3373, allocations: 79.22 kB / 411.2 MB, free: 27.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.988e-05/0.3373, allocations: 33.58 kB / 411.3 MB, free: 27.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.3374, allocations: 83.28 kB / 411.4 MB, free: 26.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.3374, allocations: 79.33 kB / 411.4 MB, free: 26.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.995e-05/0.3375, allocations: 158.5 kB / 411.6 MB, free: 26.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.721e-05/0.3375, allocations: 75.28 kB / 411.7 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.99e-05/0.3375, allocations: 162.5 kB / 411.8 MB, free: 26.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.3376, allocations: 79.22 kB / 411.9 MB, free: 26.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3377, allocations: 75.28 kB / 412 MB, free: 26.35 MB / 302.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.215e-05/0.3378, allocations: 260.4 kB / 412.2 MB, free: 26.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.3378, allocations: 112.9 kB / 412.3 MB, free: 25.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.3379, allocations: 108.1 kB / 412.4 MB, free: 25.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/0.3379, allocations: 180.3 kB / 412.6 MB, free: 25.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-05/0.338, allocations: 184.2 kB / 412.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.201e-05/0.338, allocations: 176.3 kB / 413 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.3382, allocations: 417.1 kB / 413.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/0.3383, allocations: 101 kB / 413.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.3383, allocations: 101 kB / 413.6 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.314e-05/0.3383, allocations: 180.2 kB / 413.7 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.3384, allocations: 184.2 kB / 413.9 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.135e-05/0.3384, allocations: 188.2 kB / 414.1 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-05/0.3385, allocations: 176.3 kB / 414.3 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.3386, allocations: 311.6 kB / 414.6 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3387, allocations: 182.1 kB / 414.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.3387, allocations: 188.2 kB / 414.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.3388, allocations: 105.2 kB / 415.1 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.3389, allocations: 176.3 kB / 415.2 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.3389, allocations: 109.4 kB / 415.3 MB, free: 22.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.285e-05/0.339, allocations: 95.2 kB / 415.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.339, allocations: 0 / 415.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005773/0.3396, allocations: 132 kB / 415.6 MB, free: 22.53 MB / 302.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.001277/0.3408, allocations: 0.594 MB / 416.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.564e-05/0.3409, allocations: 4 kB / 416.1 MB, free: 22.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3409, allocations: 4 kB / 416.2 MB, free: 22.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.3409, allocations: 3.938 kB / 416.2 MB, free: 22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3412, allocations: 459.6 kB / 416.6 MB, free: 21.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.3415, allocations: 165.3 kB / 416.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3416, allocations: 0.6807 MB / 417.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.787e-06/0.3417, allocations: 0 / 417.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.3417, allocations: 11.44 kB / 417.5 MB, free: 20.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3417, allocations: 0 / 417.5 MB, free: 20.64 MB / 302.1 MB Notification: Performance of Templates: time 0.005953/0.3476, allocations: 3.055 MB / 420.5 MB, free: 17.59 MB / 302.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 -s cvode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)