Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.005134/0.005134, allocations: 101 kB / 15.73 MB, free: 6.059 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.001313/0.001313, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.007084/0.007084, allocations: 1.008 MB / 291.5 MB, free: 13.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.89 kB / 402.5 MB, free: 32.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07307/0.07493, allocations: 49.66 MB / 452.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002489/0.07747, allocations: 1.258 MB / 453.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.07948, allocations: 1.221 MB / 454.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.07953, allocations: 0 / 454.6 MB, free: 11.98 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001417/0.08098, allocations: 257.5 kB / 454.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.0811, allocations: 55.86 kB / 454.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.047e-06/0.08111, allocations: 0 / 454.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.08121, allocations: 39.91 kB / 455 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.08127, allocations: 7.938 kB / 455 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.08132, allocations: 23.84 kB / 455 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.08152, allocations: 35.91 kB / 455 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.08154, allocations: 4 kB / 455 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.08197, allocations: 263.6 kB / 455.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.08205, allocations: 31.91 kB / 455.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.08209, allocations: 23.86 kB / 455.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.08247, allocations: 251.5 kB / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.08248, allocations: 0 / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08249, allocations: 0 / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.0825, allocations: 4 kB / 455.6 MB, free: 11.01 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.0005126/0.08302, allocations: 434.5 kB / 456 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.08306, allocations: 12.03 kB / 456 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.847e-05/0.08314, allocations: 106 kB / 456.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.08322, allocations: 88.16 kB / 456.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.08349, allocations: 299.5 kB / 456.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.08356, allocations: 150.9 kB / 456.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.08363, allocations: 154.9 kB / 456.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.163e-05/0.08371, allocations: 112.9 kB / 456.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.08375, allocations: 75.28 kB / 457 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.08382, allocations: 150.6 kB / 457.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.08389, allocations: 154.5 kB / 457.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.08396, allocations: 158.6 kB / 457.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.08432, allocations: 469.9 kB / 457.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.08443, allocations: 173.1 kB / 458.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.08447, allocations: 80.14 kB / 458.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.08452, allocations: 83.22 kB / 458.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.08458, allocations: 105.8 kB / 458.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.08459, allocations: 0 / 458.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.564e-05/0.08468, allocations: 37.64 kB / 458.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.08476, allocations: 130.6 kB / 458.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.085, allocations: 185.1 kB / 458.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.08502, allocations: 25.7 kB / 458.7 MB, free: 7.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.08509, allocations: 104.1 kB / 458.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.0851, allocations: 0 / 458.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.08513, allocations: 9.719 kB / 458.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.08527, allocations: 318.8 kB / 459.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.08528, allocations: 0 / 459.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.08529, allocations: 4.047 kB / 459.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.08533, allocations: 75.28 kB / 459.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-05/0.08536, allocations: 79.28 kB / 459.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.655e-05/0.08545, allocations: 49.66 kB / 459.3 MB, free: 7.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.08549, allocations: 83.22 kB / 459.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/0.08553, allocations: 79.22 kB / 459.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.28e-05/0.08561, allocations: 150.6 kB / 459.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.08565, allocations: 83.22 kB / 459.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.313e-05/0.08572, allocations: 150.6 kB / 459.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.08583, allocations: 83.28 kB / 460 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.08587, allocations: 87.22 kB / 460 MB, free: 6.316 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.0001471/0.08603, allocations: 269 kB / 460.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.08611, allocations: 108.9 kB / 460.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.08618, allocations: 116.8 kB / 460.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.492e-05/0.08626, allocations: 180.3 kB / 460.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.004e-05/0.08635, allocations: 180.3 kB / 460.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.531e-05/0.08643, allocations: 180.2 kB / 461.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.08671, allocations: 421.2 kB / 461.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.972e-05/0.08676, allocations: 112.9 kB / 461.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.08681, allocations: 104.9 kB / 461.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.657e-05/0.0869, allocations: 184.3 kB / 461.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.08698, allocations: 184.2 kB / 462 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-05/0.08706, allocations: 180.2 kB / 462.2 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.649e-05/0.08715, allocations: 180.2 kB / 462.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.08732, allocations: 311.8 kB / 462.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.08744, allocations: 201.9 kB / 462.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.08754, allocations: 180.3 kB / 463.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.08765, allocations: 108.9 kB / 463.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.08774, allocations: 176.3 kB / 463.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.08779, allocations: 105 kB / 463.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.08794, allocations: 151.2 kB / 463.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08795, allocations: 4 kB / 463.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00042/0.08837, allocations: 79.73 kB / 463.7 MB, free: 2.449 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.001082/0.08946, allocations: 1.049 MB / 464.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.997e-05/0.08951, allocations: 0 / 464.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.08952, allocations: 0 / 464.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.08953, allocations: 3.938 kB / 464.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.08993, allocations: 463.7 kB / 465.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.09186, allocations: 2.016 MB / 467.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.0922, allocations: 0.6885 MB / 467.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.09224, allocations: 15.97 kB / 467.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.09231, allocations: 31.42 kB / 467.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09232, allocations: 0 / 467.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.1221, allocations: 3.49 MB / 471.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/7.941, allocations: 14.98 kB / 471.4 MB, free: 10.69 MB / 350.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadRealCSV_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_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)