Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7973/0.7973, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 167.5 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008951/0.0008952, allocations: 96.27 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 264.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004451, allocations: 16.22 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2004, allocations: 82.81 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.587/0.7875, allocations: 112.9 MB / 0.884 GB, free: 32.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.7878, allocations: 90.64 kB / 0.8841 GB, free: 32.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.8016, allocations: 4.856 MB / 0.8888 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8016, allocations: 0 / 0.8888 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.8017, allocations: 2.75 kB / 0.8888 GB, free: 32.39 MB / 0.5417 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.0006335/0.8023, allocations: 451.6 kB / 0.8892 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.8023, allocations: 8.75 kB / 0.8892 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.8024, allocations: 13.84 kB / 0.8893 GB, free: 31.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.8027, allocations: 225.5 kB / 0.8895 GB, free: 31.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.8027, allocations: 6.625 kB / 0.8895 GB, free: 31.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.8028, allocations: 5.219 kB / 0.8895 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.803, allocations: 105 kB / 0.8896 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8031, allocations: 0 / 0.8896 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.8031, allocations: 1.375 kB / 0.8896 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8031, allocations: 0 / 0.8896 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.8033, allocations: 70.75 kB / 0.8896 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.8035, allocations: 217.5 kB / 0.8899 GB, free: 31.47 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.8038, allocations: 122.9 kB / 0.89 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.8038, allocations: 2.594 kB / 0.89 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.8041, allocations: 124.1 kB / 0.8901 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.8041, allocations: 0 / 0.8901 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0005341/0.8047, allocations: 182.2 kB / 0.8903 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.8047, allocations: 135.7 kB / 0.8904 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.8049, allocations: 168.9 kB / 0.8906 GB, free: 31.01 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.805, allocations: 25.7 kB / 0.8906 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.805, allocations: 105.3 kB / 0.8907 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.8051, allocations: 27.44 kB / 0.8907 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.8051, allocations: 3.938 kB / 0.8907 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.8052, allocations: 321.8 kB / 0.891 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.8053, allocations: 46.12 kB / 0.8911 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.8054, allocations: 65.42 kB / 0.8911 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.8055, allocations: 47.14 kB / 0.8912 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8055, allocations: 0 / 0.8912 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002889/0.8058, allocations: 151 kB / 0.8913 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8059, allocations: 5.656 kB / 0.8913 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8059, allocations: 0.6562 kB / 0.8913 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.8059, allocations: 2.656 kB / 0.8913 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.806, allocations: 21.48 kB / 0.8913 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.8061, allocations: 2.812 kB / 0.8913 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.8061, allocations: 11.98 kB / 0.8914 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.8062, allocations: 9.828 kB / 0.8914 GB, free: 30.46 MB / 0.5417 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.0001189/0.8063, allocations: 128.5 kB / 0.8915 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.8063, allocations: 15.47 kB / 0.8915 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.8066, allocations: 121.2 kB / 0.8916 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8066, allocations: 2.844 kB / 0.8916 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.8066, allocations: 0.8906 kB / 0.8916 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8066, allocations: 192 / 0.8916 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.8068, allocations: 218.3 kB / 0.8918 GB, free: 30.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8068, allocations: 4.688 kB / 0.8918 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.8069, allocations: 29.58 kB / 0.8919 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.8069, allocations: 4.703 kB / 0.8919 GB, free: 30.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.8069, allocations: 3.328 kB / 0.8919 GB, free: 30.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.807, allocations: 320 / 0.8919 GB, free: 30.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.807, allocations: 2.984 kB / 0.8919 GB, free: 30.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.8073, allocations: 211 kB / 0.8921 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.8073, allocations: 92.95 kB / 0.8922 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.8074, allocations: 8.578 kB / 0.8922 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.8075, allocations: 16.3 kB / 0.8922 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.8075, allocations: 9.375 kB / 0.8922 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.8076, allocations: 3.359 kB / 0.8922 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001149/0.8077, allocations: 137 kB / 0.8923 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8077, allocations: 0 / 0.8923 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002766/0.808, allocations: 42.91 kB / 0.8924 GB, free: 29.76 MB / 0.5417 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.00104/0.809, allocations: 461.9 kB / 0.8928 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.8093, allocations: 102.4 kB / 0.8929 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8093, allocations: 0 / 0.8929 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.8095, allocations: 52.81 kB / 0.893 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.8097, allocations: 39.25 kB / 0.893 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.8102, allocations: 271.1 kB / 0.8933 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.8104, allocations: 0.7133 MB / 0.894 GB, free: 28.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.8105, allocations: 20.08 kB / 0.894 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.8106, allocations: 18.8 kB / 0.894 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.8106, allocations: 0 / 0.894 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of Templates: time 0.005359/0.816, allocations: 1.956 MB / 0.8959 GB, free: 28.44 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)