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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.0007915/0.0007915, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008144/0.0008144, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005533/0.005534, allocations: 0.9923 MB / 292.1 MB, free: 1.227 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003419, allocations: 8 kB / 353.2 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2711, allocations: 50.61 MB / 403.8 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001241/0.2724, allocations: 0.9337 MB / 404.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.275, allocations: 1.93 MB / 406.7 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.275, allocations: 2.625 kB / 406.7 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.2751, allocations: 3.938 kB / 406.7 MB, free: 8.93 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.001282/0.2764, allocations: 376 kB / 407.1 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.2764, allocations: 1.375 kB / 407.1 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.477e-05/0.2764, allocations: 8.672 kB / 407.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.2764, allocations: 1.625 kB / 407.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.2765, allocations: 15.16 kB / 407.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2766, allocations: 6.141 kB / 407.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.2766, allocations: 0 / 407.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006937/0.2773, allocations: 436.1 kB / 407.5 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-06/0.2773, allocations: 0 / 407.5 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.2773, allocations: 27.3 kB / 407.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.2777, allocations: 250.2 kB / 407.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2777, allocations: 0 / 407.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2777, allocations: 3.938 kB / 407.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2777, allocations: 0 / 407.8 MB, free: 8.512 MB / 286.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.0003085/0.278, allocations: 412.5 kB / 408.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2781, allocations: 9.625 kB / 408.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.2781, allocations: 81.75 kB / 408.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.2782, allocations: 247.1 kB / 408.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2782, allocations: 155.4 kB / 408.7 MB, free: 7.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.2783, allocations: 152.7 kB / 408.8 MB, free: 7.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.803e-05/0.2783, allocations: 114 kB / 408.9 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2783, allocations: 75.28 kB / 409 MB, free: 7.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.2784, allocations: 151.6 kB / 409.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.2784, allocations: 151.8 kB / 409.3 MB, free: 6.961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.2784, allocations: 158.5 kB / 409.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.2786, allocations: 447.2 kB / 409.9 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.2786, allocations: 171 kB / 410.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.2786, allocations: 81.33 kB / 410.1 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2787, allocations: 79.27 kB / 410.2 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2787, allocations: 115.9 kB / 410.3 MB, free: 5.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.2787, allocations: 4 kB / 410.3 MB, free: 5.863 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.823e-05/0.2788, allocations: 31.81 kB / 410.4 MB, free: 5.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.2788, allocations: 127.5 kB / 410.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.2789, allocations: 104.5 kB / 410.6 MB, free: 5.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-06/0.2789, allocations: 26.45 kB / 410.6 MB, free: 5.559 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.2789, allocations: 85.73 kB / 410.7 MB, free: 5.473 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.2789, allocations: 0 / 410.7 MB, free: 5.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.2789, allocations: 0 / 410.7 MB, free: 5.473 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.2789, allocations: 317.3 kB / 411 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-06/0.279, allocations: 0 / 411 MB, free: 5.156 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-06/0.279, allocations: 0 / 411 MB, free: 5.156 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.295e-05/0.279, allocations: 75.97 kB / 411.1 MB, free: 5.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.279, allocations: 75.89 kB / 411.2 MB, free: 5.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.326e-05/0.279, allocations: 37 kB / 411.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2791, allocations: 82.58 kB / 411.3 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2791, allocations: 75.28 kB / 411.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.2791, allocations: 163.5 kB / 411.5 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-06/0.2791, allocations: 81.22 kB / 411.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.2792, allocations: 155.8 kB / 411.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.2792, allocations: 77.34 kB / 411.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2792, allocations: 76.41 kB / 411.9 MB, free: 4.281 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.2793, allocations: 262.6 kB / 412.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.2793, allocations: 108.4 kB / 412.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.2793, allocations: 110.1 kB / 412.4 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.2794, allocations: 185.3 kB / 412.5 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/0.2794, allocations: 178.5 kB / 412.7 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.2794, allocations: 177.2 kB / 412.9 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2796, allocations: 411.6 kB / 413.3 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.2796, allocations: 102 kB / 413.4 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.2796, allocations: 108.8 kB / 413.5 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.628e-05/0.2796, allocations: 182.2 kB / 413.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.2797, allocations: 181.2 kB / 413.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.587e-05/0.2797, allocations: 182.7 kB / 414 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-05/0.2797, allocations: 190.7 kB / 414.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.865e-05/0.2798, allocations: 304.7 kB / 414.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.2798, allocations: 189.4 kB / 414.7 MB, free: 1.309 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.2799, allocations: 182.6 kB / 414.9 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.2799, allocations: 106 kB / 415 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.28, allocations: 183 kB / 415.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.28, allocations: 106 kB / 415.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.28, allocations: 87.11 kB / 415.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.28, allocations: 0 / 415.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005029/0.2805, allocations: 138.8 kB / 415.5 MB, free: 0.6094 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009566/0.2815, allocations: 0.5728 MB / 416.1 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.813e-05/0.2816, allocations: 1.406 kB / 416.1 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2816, allocations: 4 kB / 416.1 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.2816, allocations: 3.938 kB / 416.1 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2819, allocations: 0.521 MB / 416.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.2821, allocations: 179.3 kB / 416.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2823, allocations: 0.6777 MB / 417.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.887e-06/0.2823, allocations: 2.078 kB / 417.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.2824, allocations: 13.45 kB / 417.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2824, allocations: 0 / 417.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Templates: time 0.006242/0.2886, allocations: 3.024 MB / 420.5 MB, free: 14.58 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: