Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.12.0/package.mo", uses=false) Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",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.005272/0.005272, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001378/0.001378, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.007378/0.007378, allocations: 1.019 MB / 291.6 MB, free: 13.7 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.88 kB / 402.5 MB, free: 32.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07541/0.07729, allocations: 49.65 MB / 452.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002218/0.07954, allocations: 1.199 MB / 453.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.08276, allocations: 2.015 MB / 455.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.08279, allocations: 0 / 455.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.08282, allocations: 0 / 455.4 MB, free: 11.23 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.12.0/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001187/0.08403, allocations: 466.3 kB / 455.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.08405, allocations: 0 / 455.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.0841, allocations: 7.938 kB / 455.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.08415, allocations: 4 kB / 455.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.08417, allocations: 0 / 455.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.08441, allocations: 7.938 kB / 455.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.08443, allocations: 0 / 455.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.08522, allocations: 0.4916 MB / 456.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-06/0.08524, allocations: 0 / 456.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.08526, allocations: 0 / 456.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.08582, allocations: 363.4 kB / 456.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.08583, allocations: 0 / 456.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08584, allocations: 0 / 456.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.08585, allocations: 0 / 456.7 MB, free: 9.906 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.0004751/0.08632, allocations: 414.6 kB / 457.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.08637, allocations: 8.031 kB / 457.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.08644, allocations: 110 kB / 457.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.08651, allocations: 80.16 kB / 457.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.08675, allocations: 251.6 kB / 457.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.08682, allocations: 158.9 kB / 457.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.08689, allocations: 158.5 kB / 457.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.887e-05/0.08697, allocations: 101 kB / 457.9 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.08701, allocations: 75.28 kB / 458 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.08707, allocations: 150.6 kB / 458.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/0.08715, allocations: 154.6 kB / 458.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.08729, allocations: 150.6 kB / 458.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.08762, allocations: 453.9 kB / 458.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.08772, allocations: 169.1 kB / 459.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.08778, allocations: 88.14 kB / 459.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.08782, allocations: 75.28 kB / 459.2 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.08788, allocations: 109.8 kB / 459.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.08789, allocations: 0 / 459.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.921e-05/0.08797, allocations: 29.64 kB / 459.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.08805, allocations: 126.7 kB / 459.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.08817, allocations: 113.8 kB / 459.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.08819, allocations: 25.7 kB / 459.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.08824, allocations: 80.14 kB / 459.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.08824, allocations: 0 / 459.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.08827, allocations: 13.72 kB / 459.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.08844, allocations: 310.8 kB / 460 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-06/0.08845, allocations: 0 / 460 MB, free: 6.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/0.08846, allocations: 0 / 460 MB, free: 6.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.08851, allocations: 87.27 kB / 460.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-05/0.08854, allocations: 75.28 kB / 460.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.51e-05/0.08861, allocations: 41.62 kB / 460.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.08867, allocations: 79.28 kB / 460.3 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.08871, allocations: 75.28 kB / 460.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-05/0.08879, allocations: 154.6 kB / 460.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.373e-05/0.08883, allocations: 79.22 kB / 460.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.374e-05/0.0889, allocations: 154.6 kB / 460.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.08899, allocations: 83.2 kB / 460.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.08903, allocations: 79.28 kB / 460.9 MB, free: 5.434 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 0.0001406/0.08917, allocations: 265 kB / 461.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.08926, allocations: 108.9 kB / 461.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.08932, allocations: 112.1 kB / 461.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.258e-05/0.08941, allocations: 176.3 kB / 461.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-05/0.0895, allocations: 184.2 kB / 461.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.328e-05/0.08959, allocations: 180.3 kB / 461.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.08985, allocations: 409.1 kB / 462.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/0.08991, allocations: 104.9 kB / 462.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.08996, allocations: 105 kB / 462.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.557e-05/0.09004, allocations: 188.2 kB / 462.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.482e-05/0.09012, allocations: 180.3 kB / 462.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.491e-05/0.0902, allocations: 180.2 kB / 463 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.109e-05/0.09028, allocations: 180.2 kB / 463.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.09044, allocations: 311.7 kB / 463.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.09053, allocations: 182.5 kB / 463.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.09062, allocations: 188.2 kB / 463.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.09071, allocations: 101 kB / 464 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.09079, allocations: 176.3 kB / 464.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.09085, allocations: 124.9 kB / 464.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.253e-05/0.09091, allocations: 87.44 kB / 464.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09091, allocations: 0 / 464.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.09141, allocations: 131.6 kB / 464.5 MB, free: 1.613 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.001487/0.0929, allocations: 1.187 MB / 465.7 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.048e-05/0.09295, allocations: 7.938 kB / 465.7 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.09296, allocations: 0 / 465.7 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.09297, allocations: 4 kB / 465.7 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.09335, allocations: 459.3 kB / 466.1 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.0947, allocations: 1.625 MB / 467.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.09501, allocations: 0.6766 MB / 468.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.052e-05/0.09503, allocations: 4 kB / 468.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.09506, allocations: 15.5 kB / 468.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09507, allocations: 0 / 468.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.1223, allocations: 3.977 MB / 472.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/7.964, allocations: 8 kB / 472.4 MB, free: 9.664 MB / 350.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadRealParameter_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_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)