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.719/2.719, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001625/0.001625, allocations: 183.5 kB / 370.8 MB, free: 10.81 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.213/2.213, allocations: 205.4 MB / 0.6295 GB, free: 10.48 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.001179/0.001179, allocations: 88.91 kB / 0.7428 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 12 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2518, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002161/0.254, allocations: 1.352 MB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2564, allocations: 1.328 MB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.2566, allocations: 7.938 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.2569, allocations: 27.91 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2572, allocations: 55.8 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.2576, allocations: 76.89 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.2578, allocations: 83.83 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.2578, allocations: 9.109 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.258, allocations: 47.78 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2582, allocations: 47.77 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2582, allocations: 0 / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2584, allocations: 43.92 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.2585, allocations: 27.91 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.2585, allocations: 33.7 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.2587, allocations: 112 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2588, allocations: 0 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2588, allocations: 0 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2588, allocations: 0 / 0.9815 GB, free: 24.99 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.0006876/0.2595, allocations: 430.8 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2595, allocations: 16.02 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.2596, allocations: 34.56 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.2596, allocations: 11.86 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.2599, allocations: 218.7 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.26, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.26, allocations: 4 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2603, allocations: 109 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2603, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2604, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2604, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.2607, allocations: 67.84 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.2609, allocations: 211.4 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.2613, allocations: 127.9 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.2614, allocations: 3.938 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.2617, allocations: 121.9 kB / 0.9827 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/0.2617, allocations: 0 / 0.9827 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000712/0.2625, allocations: 169.4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.2625, allocations: 136.8 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.2627, allocations: 182.8 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2628, allocations: 25.7 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2628, allocations: 104.1 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.2629, allocations: 23.66 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.2629, allocations: 0 / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.263, allocations: 322.8 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2632, allocations: 43.91 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.2634, allocations: 68.27 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.2636, allocations: 44.02 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2636, allocations: 0 / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004605/0.2641, allocations: 133.5 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2641, allocations: 16.02 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2641, allocations: 0 / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.2641, allocations: 4 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.2644, allocations: 23.98 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2644, allocations: 4 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2646, allocations: 11.91 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.2646, allocations: 3.953 kB / 0.984 GB, free: 22.07 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.000127/0.2647, allocations: 130.1 kB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.2648, allocations: 11.91 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.2649, allocations: 21.39 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.2649, allocations: 7.938 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2649, allocations: 0 / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2649, allocations: 0 / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.2651, allocations: 205.5 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2651, allocations: 0 / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2652, allocations: 19.98 kB / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2653, allocations: 4 kB / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2653, allocations: 0 / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2653, allocations: 4.188 kB / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2653, allocations: 0 / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.2658, allocations: 209.8 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.2659, allocations: 96.94 kB / 0.9847 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.2659, allocations: 0 / 0.9847 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2661, allocations: 11.98 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.2661, allocations: 15.95 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.2662, allocations: 7.984 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001399/0.2663, allocations: 132.2 kB / 0.9848 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2663, allocations: 0 / 0.9848 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003596/0.2667, allocations: 39.89 kB / 0.9849 GB, free: 21.06 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.001976/0.2687, allocations: 1.205 MB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005447/0.2693, allocations: 91.88 kB / 0.9861 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2693, allocations: 0 / 0.9861 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.2696, allocations: 52.09 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.27, allocations: 25.23 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.2719, allocations: 1.239 MB / 0.9874 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.2722, allocations: 0.7121 MB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.2723, allocations: 24.47 kB / 0.9881 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2725, allocations: 39.41 kB / 0.9882 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2725, allocations: 0 / 0.9882 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.3029, allocations: 3.296 MB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.3032, allocations: 225.2 kB / 0.9916 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/2.93, allocations: 7.516 kB / 0.9916 GB, free: 14.32 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)