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: "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000753/0.000753, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004832/0.004832, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005636/0.005636, allocations: 0.9921 MB / 292.4 MB, free: 1.156 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 12 kB / 353.9 MB, free: 1.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2523, allocations: 50.63 MB / 404.5 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001598/0.2539, allocations: 0.9376 MB / 405.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.257, allocations: 2.071 MB / 407.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.257, allocations: 0 / 407.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.257, allocations: 5.062 kB / 407.6 MB, free: 8.949 MB / 286.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 ‘Modelica.Utilities.Streams.readLine‘. [/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.001293/0.2583, allocations: 377.8 kB / 407.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.2583, allocations: 4 kB / 407.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.331e-05/0.2584, allocations: 9.062 kB / 407.9 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.2584, allocations: 7.766 kB / 407.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.2584, allocations: 7.125 kB / 408 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.2586, allocations: 10.25 kB / 408 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.2586, allocations: 3.938 kB / 408 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007543/0.2593, allocations: 469.1 kB / 408.4 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.724e-06/0.2594, allocations: 6.156 kB / 408.4 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.2594, allocations: 31.83 kB / 408.5 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.2599, allocations: 374.8 kB / 408.8 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2599, allocations: 0 / 408.8 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2599, allocations: 4 kB / 408.8 MB, free: 8.445 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.2599, allocations: 1.281 kB / 408.8 MB, free: 8.445 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.0003442/0.2603, allocations: 408 kB / 409.2 MB, free: 8.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2603, allocations: 10.72 kB / 409.2 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.669e-05/0.2604, allocations: 111 kB / 409.3 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.2604, allocations: 85.12 kB / 409.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2605, allocations: 245.3 kB / 409.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2606, allocations: 156.1 kB / 409.8 MB, free: 7.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2606, allocations: 156.5 kB / 410 MB, free: 7.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.653e-05/0.2606, allocations: 102.2 kB / 410.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2606, allocations: 75.28 kB / 410.1 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.2607, allocations: 150.6 kB / 410.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2607, allocations: 152.5 kB / 410.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.2607, allocations: 162.5 kB / 410.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.2609, allocations: 444.3 kB / 411 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.017e-05/0.2609, allocations: 174 kB / 411.2 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.2609, allocations: 80.14 kB / 411.3 MB, free: 5.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.261, allocations: 85.08 kB / 411.4 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.261, allocations: 111 kB / 411.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.261, allocations: 0 / 411.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.917e-05/0.2611, allocations: 31.62 kB / 411.5 MB, free: 5.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.2611, allocations: 127.4 kB / 411.6 MB, free: 5.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.2612, allocations: 105.6 kB / 411.7 MB, free: 5.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.2612, allocations: 25.7 kB / 411.8 MB, free: 5.387 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.2612, allocations: 89.17 kB / 411.8 MB, free: 5.297 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.2612, allocations: 0 / 411.8 MB, free: 5.297 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.2612, allocations: 11.31 kB / 411.9 MB, free: 5.281 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.2613, allocations: 312.6 kB / 412.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-06/0.2613, allocations: 3.938 kB / 412.2 MB, free: 4.965 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-06/0.2613, allocations: 3.938 kB / 412.2 MB, free: 4.961 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.082e-05/0.2613, allocations: 77 kB / 412.2 MB, free: 4.887 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2613, allocations: 75.28 kB / 412.3 MB, free: 4.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.661e-05/0.2614, allocations: 40.72 kB / 412.4 MB, free: 4.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2614, allocations: 81.11 kB / 412.4 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2614, allocations: 76.31 kB / 412.5 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.2614, allocations: 156.6 kB / 412.7 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-05/0.2615, allocations: 81.06 kB / 412.7 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.2615, allocations: 152.3 kB / 412.9 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.2615, allocations: 83.22 kB / 413 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2616, allocations: 77.06 kB / 413.1 MB, free: 4.086 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.2616, allocations: 262.6 kB / 413.3 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.2617, allocations: 111.5 kB / 413.4 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.2617, allocations: 110.4 kB / 413.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.2617, allocations: 184.1 kB / 413.7 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/0.2617, allocations: 182 kB / 413.9 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.2618, allocations: 178 kB / 414.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2619, allocations: 411.8 kB / 414.5 MB, free: 2.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.2619, allocations: 102.9 kB / 414.6 MB, free: 2.484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.2619, allocations: 110.9 kB / 414.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/0.262, allocations: 180.3 kB / 414.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.262, allocations: 178.5 kB / 415 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.281e-05/0.262, allocations: 182 kB / 415.2 MB, free: 1.824 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-05/0.2621, allocations: 182.3 kB / 415.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.016e-05/0.2621, allocations: 310.8 kB / 415.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.2622, allocations: 185.5 kB / 415.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.2622, allocations: 181.5 kB / 416 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.2623, allocations: 103.2 kB / 416.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.2623, allocations: 180.9 kB / 416.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2623, allocations: 103.6 kB / 416.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.2623, allocations: 91.56 kB / 416.5 MB, free: 468 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2623, allocations: 0 / 416.5 MB, free: 468 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.2628, allocations: 143.6 kB / 416.6 MB, free: 428 kB / 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 (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.001193/0.264, allocations: 1.211 MB / 417.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.91e-05/0.2641, allocations: 1.812 kB / 417.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2641, allocations: 0 / 417.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.2641, allocations: 0.6094 kB / 417.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2644, allocations: 0.5248 MB / 418.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2656, allocations: 1.664 MB / 420 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.2658, allocations: 0.677 MB / 420.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.166e-05/0.2658, allocations: 6.656 kB / 420.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.2658, allocations: 19.05 kB / 420.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2658, allocations: 0 / 420.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.2816, allocations: 3.957 MB / 424.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.2818, allocations: 222 kB / 424.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.042, allocations: 0 / 424.9 MB, free: 11.93 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadReal_m_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)