Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6985/0.6985, allocations: 127.4 MB / 134.9 MB, free: 3.703 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 184.8 kB / 164.7 MB, free: 6.516 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.0008953, allocations: 101.4 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.955e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1812, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6401/0.8214, allocations: 106 MB / 0.7251 GB, free: 9.418 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.8218, allocations: 89.81 kB / 0.7252 GB, free: 9.367 MB / 490.7 MB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.8339, allocations: 4.406 MB / 0.7295 GB, free: 5.898 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.834, allocations: 0 / 0.7295 GB, free: 5.898 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.834, allocations: 4 kB / 0.7295 GB, free: 5.895 MB / 490.7 MB 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.0005699/0.8346, allocations: 418.2 kB / 0.7299 GB, free: 5.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.8346, allocations: 8.031 kB / 0.7299 GB, free: 5.441 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.8347, allocations: 19.77 kB / 0.7299 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.8351, allocations: 229.2 kB / 0.7302 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.8351, allocations: 3.984 kB / 0.7302 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.8351, allocations: 4 kB / 0.7302 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/0.8352, allocations: 26.98 kB / 0.7302 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.8354, allocations: 89.66 kB / 0.7303 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.8354, allocations: 0 / 0.7303 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.8354, allocations: 3.953 kB / 0.7303 GB, free: 5.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8355, allocations: 7.938 kB / 0.7303 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.8357, allocations: 193 kB / 0.7305 GB, free: 4.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.8359, allocations: 93.2 kB / 0.7306 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.836, allocations: 48.58 kB / 0.7306 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.836, allocations: 0 / 0.7306 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.8362, allocations: 94.64 kB / 0.7307 GB, free: 4.566 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.8362, allocations: 0 / 0.7307 GB, free: 4.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002793/0.8365, allocations: 109.8 kB / 0.7308 GB, free: 4.469 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/0.8366, allocations: 132.5 kB / 0.7309 GB, free: 4.309 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.8368, allocations: 166.5 kB / 0.7311 GB, free: 4.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.8368, allocations: 25.7 kB / 0.7311 GB, free: 4.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.8369, allocations: 100.3 kB / 0.7312 GB, free: 4.043 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.8369, allocations: 26.83 kB / 0.7312 GB, free: 4.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.8369, allocations: 0 / 0.7312 GB, free: 4.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8371, allocations: 332.7 kB / 0.7315 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.8371, allocations: 29.69 kB / 0.7316 GB, free: 3.672 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.8372, allocations: 53.59 kB / 0.7316 GB, free: 3.613 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.8373, allocations: 25.36 kB / 0.7317 GB, free: 3.598 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8373, allocations: 0 / 0.7317 GB, free: 3.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.8374, allocations: 113.7 kB / 0.7318 GB, free: 3.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8375, allocations: 4 kB / 0.7318 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8375, allocations: 0 / 0.7318 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8375, allocations: 4 kB / 0.7318 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.8376, allocations: 23.92 kB / 0.7318 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8377, allocations: 4 kB / 0.7318 GB, free: 3.461 MB / 490.7 MB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.8378, allocations: 11.98 kB / 0.7318 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.8378, allocations: 0 / 0.7318 GB, free: 3.449 MB / 490.7 MB 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 () * 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.0001/0.8379, allocations: 127 kB / 0.7319 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001896/0.8381, allocations: 110.2 kB / 0.732 GB, free: 3.227 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.8381, allocations: 11.91 kB / 0.732 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.8383, allocations: 124.4 kB / 0.7322 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.8383, allocations: 4 kB / 0.7322 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8384, allocations: 0 / 0.7322 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.8384, allocations: 3.953 kB / 0.7322 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.8385, allocations: 183 kB / 0.7323 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8386, allocations: 8.25 kB / 0.7324 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.8386, allocations: 19.98 kB / 0.7324 GB, free: 2.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8387, allocations: 4 kB / 0.7324 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.8387, allocations: 0 / 0.7324 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8387, allocations: 0 / 0.7324 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8387, allocations: 4 kB / 0.7324 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.8389, allocations: 178.3 kB / 0.7325 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.839, allocations: 93.19 kB / 0.7326 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.839, allocations: 7.562 kB / 0.7326 GB, free: 2.562 MB / 490.7 MB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.8391, allocations: 11.98 kB / 0.7327 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.8392, allocations: 15.88 kB / 0.7327 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.8392, allocations: 8 kB / 0.7327 GB, free: 2.527 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.8393, allocations: 130.1 kB / 0.7328 GB, free: 2.418 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8393, allocations: 0 / 0.7328 GB, free: 2.418 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000252/0.8396, allocations: 43.11 kB / 0.7328 GB, free: 2.379 MB / 490.7 MB 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) * 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.00141/0.841, allocations: 1.136 MB / 0.734 GB, free: 1.305 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.8412, allocations: 61.11 kB / 0.734 GB, free: 1.262 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8412, allocations: 3.938 kB / 0.734 GB, free: 1.258 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.8413, allocations: 37.81 kB / 0.7341 GB, free: 1.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.8415, allocations: 26.77 kB / 0.7341 GB, free: 1.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.8421, allocations: 219.5 kB / 0.7343 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.8425, allocations: 0.7118 MB / 0.735 GB, free: 236 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.265e-05/0.8426, allocations: 21.02 kB / 0.735 GB, free: 212 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.8426, allocations: 41.97 kB / 0.735 GB, free: 188 kB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.8427, allocations: 0 / 0.735 GB, free: 188 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7399/1.583, allocations: 3.027 MB / 0.738 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/1.583, allocations: 178.4 kB / 0.7382 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/3.231, allocations: 0 / 0.7382 GB, free: 12.98 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)