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 1.503/1.503, allocations: 287.4 MB / 302.6 MB, free: 8.305 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.001227/0.001227, allocations: 190.9 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008313/0.0008312, allocations: 105.2 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 15.05 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003123/0.2556, allocations: 1.374 MB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.2586, allocations: 1.333 MB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2588, allocations: 0 / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.2593, allocations: 35.83 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.2597, allocations: 55.7 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.2602, allocations: 83.83 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.2606, allocations: 107.6 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.2607, allocations: 13.11 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.261, allocations: 47.78 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.2613, allocations: 47.75 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.2614, allocations: 4 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.2616, allocations: 47.98 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.2617, allocations: 27.84 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.2618, allocations: 41.7 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.2621, allocations: 112 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.2621, allocations: 3.938 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2621, allocations: 0 / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2621, allocations: 3.938 kB / 0.982 GB, free: 24.73 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.0008816/0.263, allocations: 419 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.2631, allocations: 12.03 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.285e-05/0.2631, allocations: 42.73 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.2632, allocations: 8.844 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.2636, allocations: 223.9 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2636, allocations: 384 / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2636, allocations: 7.938 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.264, allocations: 109 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.264, allocations: 0 / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.264, allocations: 0 / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.264, allocations: 0 / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.2643, allocations: 59.89 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.2647, allocations: 211.5 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.2651, allocations: 123.7 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2653, allocations: 54.61 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.2654, allocations: 4 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/0.2657, allocations: 113.9 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.395e-06/0.2658, allocations: 0 / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0007905/0.2666, allocations: 177.6 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.2666, allocations: 132.5 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.2669, allocations: 174.9 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2669, allocations: 33.64 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.267, allocations: 104.1 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.2671, allocations: 27.64 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.2671, allocations: 0 / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.2672, allocations: 326.9 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2674, allocations: 39.91 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2676, allocations: 68.27 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.2679, allocations: 103.4 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2679, allocations: 3.938 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004733/0.2684, allocations: 137.8 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2685, allocations: 10.5 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2685, allocations: 0 / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.2685, allocations: 0 / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2687, allocations: 32.02 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.2688, allocations: 4.188 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2689, allocations: 15.89 kB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.269, allocations: 7.938 kB / 0.9846 GB, free: 21.68 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.0001394/0.2691, allocations: 131.1 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2692, allocations: 11.91 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.2692, allocations: 17.39 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2693, allocations: 3.984 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2693, allocations: 8 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2693, allocations: 0 / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2695, allocations: 209.5 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2695, allocations: 0 / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.2696, allocations: 19.92 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2696, allocations: 0 / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2697, allocations: 4 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2697, allocations: 0 / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.2697, allocations: 0 / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.2702, allocations: 174.6 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.2703, allocations: 100.8 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.2703, allocations: 8 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2705, allocations: 11.98 kB / 0.9853 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.2705, allocations: 15.92 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.2706, allocations: 4 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001596/0.2707, allocations: 136.2 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2708, allocations: 0 / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004106/0.2712, allocations: 31.98 kB / 0.9855 GB, free: 20.72 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.001995/0.2732, allocations: 1.039 MB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.2736, allocations: 95.98 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2736, allocations: 0 / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.2738, allocations: 47.92 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.2743, allocations: 31.91 kB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.2763, allocations: 0.8014 MB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2765, allocations: 0.7083 MB / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.2767, allocations: 28.47 kB / 0.9882 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.2768, allocations: 35.42 kB / 0.9882 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2768, allocations: 0 / 0.9882 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2865/0.5633, allocations: 3.291 MB / 0.9914 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/0.5637, allocations: 228.8 kB / 0.9916 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.405, allocations: 4 kB / 0.9916 GB, free: 14.6 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)