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.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.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.0009674/0.0009675, allocations: 98.11 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.005999/0.005999, allocations: 169.5 kB / 16.27 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005572/0.005572, allocations: 1.003 MB / 292.4 MB, free: 1.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 12 kB / 353.9 MB, free: 1.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2462, allocations: 50.63 MB / 404.5 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001282/0.2475, allocations: 0.9821 MB / 405.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.2491, allocations: 1.199 MB / 406.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.2492, allocations: 0 / 406.7 MB, free: 9.492 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/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.001068/0.2503, allocations: 209.1 kB / 406.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.2503, allocations: 60.86 kB / 407 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.545e-06/0.2504, allocations: 0 / 407 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2505, allocations: 122.6 kB / 407.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.2505, allocations: 1.125 kB / 407.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.2505, allocations: 16.3 kB / 407.1 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.2507, allocations: 55.91 kB / 407.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.2507, allocations: 1.094 kB / 407.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.2511, allocations: 252.7 kB / 407.4 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.2511, allocations: 31.28 kB / 407.5 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.2512, allocations: 54.56 kB / 407.5 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.2515, allocations: 240.9 kB / 407.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2515, allocations: 0.6875 kB / 407.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2515, allocations: 5.125 kB / 407.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.2515, allocations: 0 / 407.8 MB, free: 9.098 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.0003627/0.2519, allocations: 422.5 kB / 408.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2519, allocations: 9.781 kB / 408.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.278e-05/0.252, allocations: 106 kB / 408.3 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.252, allocations: 83.42 kB / 408.4 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.2522, allocations: 301.5 kB / 408.7 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2522, allocations: 155.9 kB / 408.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2522, allocations: 152 kB / 409 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.318e-05/0.2523, allocations: 106.1 kB / 409.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2523, allocations: 75.28 kB / 409.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.2523, allocations: 156.7 kB / 409.3 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.2523, allocations: 151.8 kB / 409.4 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.2524, allocations: 158.6 kB / 409.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.2526, allocations: 466.8 kB / 410 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.2526, allocations: 171 kB / 410.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.2526, allocations: 80.14 kB / 410.3 MB, free: 6.516 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.2526, allocations: 88.34 kB / 410.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2527, allocations: 106.8 kB / 410.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.2527, allocations: 0 / 410.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.393e-05/0.2527, allocations: 35.08 kB / 410.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2528, allocations: 126.7 kB / 410.6 MB, free: 6.145 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.253, allocations: 184.5 kB / 410.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.253, allocations: 25.7 kB / 410.8 MB, free: 5.988 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.253, allocations: 102.7 kB / 410.9 MB, free: 5.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.253, allocations: 0 / 410.9 MB, free: 5.891 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.253, allocations: 9.719 kB / 411 MB, free: 5.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.2531, allocations: 316.8 kB / 411.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-06/0.2531, allocations: 0 / 411.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.2531, allocations: 3.938 kB / 411.3 MB, free: 5.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.125e-05/0.2531, allocations: 80.12 kB / 411.3 MB, free: 5.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.2531, allocations: 75.28 kB / 411.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.303e-05/0.2532, allocations: 44.38 kB / 411.5 MB, free: 5.363 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2532, allocations: 82.62 kB / 411.5 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2532, allocations: 76.41 kB / 411.6 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.2533, allocations: 156 kB / 411.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.004e-05/0.2533, allocations: 77.12 kB / 411.8 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/0.2533, allocations: 164.1 kB / 412 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.342e-05/0.2534, allocations: 78.25 kB / 412.1 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2534, allocations: 85.2 kB / 412.2 MB, free: 4.672 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 6.022e-05/0.2535, allocations: 269.7 kB / 412.4 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.2535, allocations: 113.7 kB / 412.5 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.2535, allocations: 109.9 kB / 412.6 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.2536, allocations: 185.7 kB / 412.8 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.2536, allocations: 187 kB / 413 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.2536, allocations: 186.5 kB / 413.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2538, allocations: 417.9 kB / 413.6 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.2538, allocations: 111.1 kB / 413.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.2538, allocations: 104.9 kB / 413.8 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/0.2538, allocations: 182 kB / 414 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2539, allocations: 182.7 kB / 414.2 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.303e-05/0.2539, allocations: 178.2 kB / 414.3 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.21e-05/0.2539, allocations: 178 kB / 414.5 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.254, allocations: 315.5 kB / 414.8 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.2541, allocations: 201.2 kB / 415 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.2541, allocations: 182.1 kB / 415.2 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.2542, allocations: 108.9 kB / 415.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.2542, allocations: 182.2 kB / 415.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2542, allocations: 103.3 kB / 415.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.2544, allocations: 147.6 kB / 415.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2544, allocations: 4 kB / 415.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.2547, allocations: 82.31 kB / 415.8 MB, free: 0.9844 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 (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.0006524/0.2554, allocations: 1.03 MB / 416.8 MB, free: 92 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.276e-05/0.2554, allocations: 1.594 kB / 416.8 MB, free: 92 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2554, allocations: 0 / 416.8 MB, free: 92 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2555, allocations: 0.9375 kB / 416.8 MB, free: 92 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.2558, allocations: 0.526 MB / 417.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.2575, allocations: 2.027 MB / 419.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.2577, allocations: 0.6881 MB / 420.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.031e-05/0.2578, allocations: 17.78 kB / 420.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.2578, allocations: 33.08 kB / 420.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2578, allocations: 0 / 420.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.2805, allocations: 3.228 MB / 423.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.2807, allocations: 215.4 kB / 423.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.976, allocations: 1.281 kB / 423.6 MB, free: 12.51 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)