Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.805/2.805, allocations: 287.5 MB / 302.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 182.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 90.28 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000708/0.0007082, allocations: 15.17 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2805, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002908/0.2835, allocations: 1.363 MB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.2866, allocations: 1.336 MB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.2868, allocations: 4 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.2872, allocations: 31.84 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.2875, allocations: 47.77 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.288, allocations: 80.95 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.2882, allocations: 107.6 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.2883, allocations: 13.11 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.2885, allocations: 51.7 kB / 0.9814 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.2888, allocations: 50.42 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.2888, allocations: 8 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.289, allocations: 51.98 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.2891, allocations: 15.92 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.2892, allocations: 37.64 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.2895, allocations: 116 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2895, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2895, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2895, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008779/0.2904, allocations: 430.8 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.2905, allocations: 16 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.2906, allocations: 34.5 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.2906, allocations: 19.86 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.291, allocations: 214.7 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.291, allocations: 8 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2911, allocations: 3.984 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.2915, allocations: 105.1 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2915, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.2916, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2916, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.292, allocations: 63.84 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2923, allocations: 211.4 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.2928, allocations: 123.8 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.2931, allocations: 58.55 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.2932, allocations: 0 / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.2936, allocations: 117.9 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.136e-06/0.2937, allocations: 0 / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001036/0.2947, allocations: 169.5 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2948, allocations: 140.4 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.2951, allocations: 178.8 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2952, allocations: 29.7 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.2952, allocations: 100.3 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.2953, allocations: 31.64 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.2954, allocations: 0 / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.2954, allocations: 326.8 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.2957, allocations: 31.98 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.296, allocations: 72.27 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2963, allocations: 39.92 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2963, allocations: 0 / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006756/0.297, allocations: 141.5 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.297, allocations: 4 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.297, allocations: 0 / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.2971, allocations: 4 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.2974, allocations: 19.98 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2974, allocations: 8.094 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2976, allocations: 19.84 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2977, allocations: 8 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.2979, allocations: 123.3 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.2979, allocations: 7.906 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.298, allocations: 25.33 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2981, allocations: 4.312 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2981, allocations: 0 / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2981, allocations: 4 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.2984, allocations: 209.5 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2984, allocations: 4 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.2986, allocations: 15.98 kB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2986, allocations: 0 / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.2987, allocations: 0 / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.2987, allocations: 4 kB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2987, allocations: 3.938 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.2994, allocations: 178.5 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.2995, allocations: 96.94 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.2995, allocations: 0 / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2997, allocations: 15.98 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.2998, allocations: 11.98 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.2999, allocations: 4 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001797/0.3, allocations: 132.2 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3001, allocations: 0 / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005641/0.3006, allocations: 39.89 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.3028, allocations: 1.049 MB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.3033, allocations: 88.02 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3033, allocations: 8.062 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3035, allocations: 55.83 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3039, allocations: 23.97 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3056, allocations: 0.8015 MB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3058, allocations: 0.7082 MB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.306, allocations: 24.47 kB / 0.9878 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3061, allocations: 43.41 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.3061, allocations: 0 / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.3415, allocations: 3.299 MB / 0.9911 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.3418, allocations: 230.2 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.039, allocations: 0 / 0.9913 GB, free: 14.88 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)