Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",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.00118/0.00118, allocations: 108 kB / 15.63 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 194.8 kB / 16.56 MB, free: 6.668 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005673/0.005673, allocations: 1 MB / 291.4 MB, free: 1.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 352.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.0878, allocations: 49.65 MB / 401.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001639/0.08948, allocations: 497.9 kB / 402.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.09131, allocations: 1.349 MB / 403.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.09135, allocations: 0 / 403.7 MB, free: 3.172 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001143/0.09251, allocations: 306.2 kB / 404 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.09256, allocations: 31.91 kB / 404 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.677e-05/0.09261, allocations: 7.984 kB / 404 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.09268, allocations: 31.91 kB / 404.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.182e-05/0.09272, allocations: 3.984 kB / 404.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.09275, allocations: 15.92 kB / 404.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.09282, allocations: 19.98 kB / 404.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.09284, allocations: 0 / 404.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.09322, allocations: 331.5 kB / 404.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.09329, allocations: 23.97 kB / 404.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.09332, allocations: 27.86 kB / 404.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.09366, allocations: 291.5 kB / 404.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09367, allocations: 0 / 404.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09368, allocations: 4 kB / 404.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.09369, allocations: 0 / 404.8 MB, free: 2.102 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.0004287/0.09412, allocations: 435.5 kB / 405.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.09416, allocations: 12.03 kB / 405.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.09422, allocations: 110 kB / 405.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.09429, allocations: 84.12 kB / 405.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.09448, allocations: 275.5 kB / 405.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.09453, allocations: 150.9 kB / 405.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.09457, allocations: 158.9 kB / 406 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.977e-05/0.09463, allocations: 108.9 kB / 406.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.09466, allocations: 75.28 kB / 406.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.0947, allocations: 154.6 kB / 406.3 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.09475, allocations: 150.6 kB / 406.4 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.0948, allocations: 150.6 kB / 406.6 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.09505, allocations: 473.8 kB / 407 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.09512, allocations: 173.1 kB / 407.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.09515, allocations: 80.14 kB / 407.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.09518, allocations: 79.22 kB / 407.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.0953, allocations: 75.31 kB / 407.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.074e-06/0.09531, allocations: 0 / 407.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.09543, allocations: 33.7 kB / 407.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.09547, allocations: 51.41 kB / 407.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.09561, allocations: 149.8 kB / 407.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.09562, allocations: 25.7 kB / 407.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.09566, allocations: 92.12 kB / 407.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.09568, allocations: 3.938 kB / 407.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.09571, allocations: 17.84 kB / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.09581, allocations: 314.8 kB / 408.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.09582, allocations: 0 / 408.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.09583, allocations: 7.984 kB / 408.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.77e-05/0.09585, allocations: 4.859 kB / 408.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.09586, allocations: 0 / 408.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.349e-05/0.09592, allocations: 45.55 kB / 408.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.09594, allocations: 4.094 kB / 408.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.09595, allocations: 4 kB / 408.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.09596, allocations: 0 / 408.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.842e-05/0.09598, allocations: 8 kB / 408.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.09599, allocations: 3.938 kB / 408.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.09602, allocations: 0 / 408.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.09603, allocations: 0 / 408.2 MB, free: 14.42 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.827e-05/0.09611, allocations: 117.8 kB / 408.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.09614, allocations: 11.84 kB / 408.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.09618, allocations: 15.52 kB / 408.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.09619, allocations: 7.984 kB / 408.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.09619, allocations: 0 / 408.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.0962, allocations: 0 / 408.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.09632, allocations: 165.6 kB / 408.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.09633, allocations: 0 / 408.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.09634, allocations: 0 / 408.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.09635, allocations: 0 / 408.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.09636, allocations: 4 kB / 408.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.09636, allocations: 3.984 kB / 408.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.09637, allocations: 0 / 408.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.444e-05/0.09645, allocations: 69.02 kB / 408.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.09651, allocations: 89 kB / 408.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.09653, allocations: 0 / 408.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.09657, allocations: 11.92 kB / 408.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-06/0.09658, allocations: 3.938 kB / 408.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.09659, allocations: 0 / 408.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.09668, allocations: 123.2 kB / 408.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09669, allocations: 4.031 kB / 408.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.09701, allocations: 104 kB / 408.9 MB, free: 13.61 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008057/0.09782, allocations: 0.8818 MB / 409.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.862e-05/0.09789, allocations: 7.938 kB / 409.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0979, allocations: 4.062 kB / 409.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-06/0.09791, allocations: 8 kB / 409.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.09805, allocations: 13.94 kB / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.09904, allocations: 1.277 MB / 411.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.09925, allocations: 0.6844 MB / 411.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.0993, allocations: 19.92 kB / 411.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.09935, allocations: 23.42 kB / 411.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09936, allocations: 0 / 411.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.1186, allocations: 3.802 MB / 415.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.335/5.454, allocations: 13.19 kB / 415.6 MB, free: 6.852 MB / 350.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)