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.007892/0.007892, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001687/0.001687, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006515/0.006515, allocations: 1.007 MB / 291.5 MB, free: 13.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.89 kB / 402.5 MB, free: 32.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06897/0.07014, allocations: 49.66 MB / 452.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002157/0.07233, allocations: 1.2 MB / 453.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002931/0.07529, allocations: 2.07 MB / 455.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.07533, allocations: 0 / 455.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.07536, allocations: 0 / 455.4 MB, free: 11.2 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.001364/0.07674, allocations: 0.4946 MB / 455.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.07676, allocations: 0 / 455.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.149e-05/0.0768, allocations: 7.938 kB / 455.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.07684, allocations: 4 kB / 455.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.07686, allocations: 7.922 kB / 455.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.07753, allocations: 8 kB / 455.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.07755, allocations: 3.938 kB / 455.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000858/0.07841, allocations: 0.5189 MB / 456.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.07843, allocations: 0 / 456.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.07846, allocations: 7.922 kB / 456.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.07906, allocations: 379.4 kB / 456.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.07908, allocations: 4 kB / 456.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.07908, allocations: 0 / 456.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.07909, allocations: 0 / 456.8 MB, free: 9.773 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.0004368/0.07953, allocations: 426.5 kB / 457.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.07958, allocations: 11.97 kB / 457.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.07963, allocations: 106 kB / 457.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.0797, allocations: 80.22 kB / 457.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.07987, allocations: 247.6 kB / 457.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.07993, allocations: 154.9 kB / 457.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.07998, allocations: 154.5 kB / 458 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.234e-05/0.08006, allocations: 108.9 kB / 458.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.08009, allocations: 75.28 kB / 458.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.08014, allocations: 150.6 kB / 458.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.08018, allocations: 154.6 kB / 458.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.08024, allocations: 154.6 kB / 458.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.0805, allocations: 442 kB / 459 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.08058, allocations: 181 kB / 459.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.08062, allocations: 88.14 kB / 459.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.08065, allocations: 75.28 kB / 459.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.0807, allocations: 109.9 kB / 459.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.08071, allocations: 0 / 459.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.116e-05/0.08078, allocations: 29.66 kB / 459.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.08084, allocations: 130.6 kB / 459.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.08095, allocations: 109.8 kB / 459.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.08097, allocations: 29.7 kB / 459.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.08101, allocations: 84.14 kB / 459.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.08102, allocations: 0 / 459.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.08105, allocations: 9.719 kB / 459.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.08114, allocations: 310.8 kB / 460.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-06/0.08115, allocations: 0 / 460.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.08116, allocations: 4 kB / 460.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.08119, allocations: 75.28 kB / 460.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/0.08122, allocations: 79.28 kB / 460.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.048e-05/0.08129, allocations: 37.62 kB / 460.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.08133, allocations: 79.28 kB / 460.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.08136, allocations: 79.22 kB / 460.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-05/0.08141, allocations: 150.6 kB / 460.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.442e-05/0.08145, allocations: 91.16 kB / 460.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.852e-05/0.0815, allocations: 154.6 kB / 460.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.08158, allocations: 79.22 kB / 461 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.08161, allocations: 79.22 kB / 461.1 MB, free: 5.285 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.999e-05/0.08172, allocations: 269 kB / 461.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.08177, allocations: 101 kB / 461.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.08183, allocations: 112.3 kB / 461.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/0.08188, allocations: 184.3 kB / 461.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.543e-05/0.08194, allocations: 184.2 kB / 461.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.295e-05/0.082, allocations: 180.2 kB / 462.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.08221, allocations: 409.2 kB / 462.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.08225, allocations: 108.9 kB / 462.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.08228, allocations: 105 kB / 462.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.158e-05/0.08234, allocations: 176.3 kB / 462.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.0824, allocations: 184.2 kB / 463 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.027e-05/0.08245, allocations: 180.3 kB / 463.2 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-05/0.08251, allocations: 184.2 kB / 463.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.08264, allocations: 312.1 kB / 463.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.0827, allocations: 182.1 kB / 463.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.08277, allocations: 184.2 kB / 464 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.08286, allocations: 105 kB / 464.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.08292, allocations: 180.3 kB / 464.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.08296, allocations: 112.9 kB / 464.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.929e-05/0.08301, allocations: 87.27 kB / 464.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08302, allocations: 0 / 464.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004888/0.08351, allocations: 147.5 kB / 464.7 MB, free: 1.453 MB / 334.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.001223/0.08474, allocations: 1.205 MB / 465.9 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.484e-05/0.08479, allocations: 4 kB / 465.9 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.0848, allocations: 4 kB / 465.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.08481, allocations: 3.938 kB / 465.9 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.08514, allocations: 459.7 kB / 466.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.08633, allocations: 1.653 MB / 468 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.08655, allocations: 0.6766 MB / 468.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.077e-06/0.08657, allocations: 8.062 kB / 468.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.08661, allocations: 11.44 kB / 468.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08661, allocations: 0 / 468.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.1076, allocations: 4.202 MB / 472.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.083, allocations: 4.516 kB / 472.9 MB, free: 9.242 MB / 350.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 & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadReal_m_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)