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.7324/0.7324, allocations: 128.7 MB / 143.7 MB, free: 2.371 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.001074/0.001074, allocations: 190.3 kB / 173.7 MB, free: 6.141 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.699/1.699, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009522/0.0009522, allocations: 95.45 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 12.67 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1743, allocations: 76.76 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.3137, allocations: 106.4 MB / 0.7394 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.314, allocations: 83.95 kB / 0.7394 GB, free: 3.816 MB / 0.5105 GB 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.3071/0.6211, allocations: 4.724 MB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6211, allocations: 0 / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.6211, allocations: 0.6562 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv 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.0005859/0.6217, allocations: 457.2 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6218, allocations: 9.219 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.6218, allocations: 41.91 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.6219, allocations: 10.88 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.6222, allocations: 214.6 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6222, allocations: 7.234 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.6222, allocations: 4.125 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.6225, allocations: 108.6 kB / 0.7449 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6225, allocations: 3.984 kB / 0.7449 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.6225, allocations: 2.438 kB / 0.7449 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6225, allocations: 4.641 kB / 0.7449 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.6227, allocations: 64.84 kB / 0.7449 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.623, allocations: 215 kB / 0.7451 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.6232, allocations: 124.7 kB / 0.7453 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.6232, allocations: 5.25 kB / 0.7453 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.6235, allocations: 117.3 kB / 0.7454 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.6235, allocations: 1.203 kB / 0.7454 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0004513/0.6239, allocations: 189.1 kB / 0.7456 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.624, allocations: 139.2 kB / 0.7457 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.6241, allocations: 169.3 kB / 0.7459 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6242, allocations: 29.2 kB / 0.7459 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.6242, allocations: 99.55 kB / 0.746 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.6243, allocations: 30.36 kB / 0.746 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.6243, allocations: 3.438 kB / 0.746 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.6243, allocations: 321.1 kB / 0.7463 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.6245, allocations: 35.44 kB / 0.7463 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.6246, allocations: 78.03 kB / 0.7464 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.6247, allocations: 46.41 kB / 0.7465 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6247, allocations: 3.469 kB / 0.7465 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002698/0.625, allocations: 140.3 kB / 0.7466 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.625, allocations: 5.312 kB / 0.7466 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.625, allocations: 1.344 kB / 0.7466 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.625, allocations: 1.156 kB / 0.7466 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.6251, allocations: 24.83 kB / 0.7466 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6252, allocations: 7.531 kB / 0.7466 GB, free: 106.3 MB / 0.5105 GB 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.43e-05/0.6252, allocations: 19.17 kB / 0.7467 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.6253, allocations: 6.766 kB / 0.7467 GB, free: 106.3 MB / 0.5105 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 8.588e-05/0.6254, allocations: 124.7 kB / 0.7468 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.6254, allocations: 9.938 kB / 0.7468 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.6256, allocations: 123.6 kB / 0.7469 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.6256, allocations: 7.438 kB / 0.7469 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6257, allocations: 0 / 0.7469 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.6257, allocations: 0.6562 kB / 0.7469 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.6258, allocations: 223.4 kB / 0.7471 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6258, allocations: 2.031 kB / 0.7471 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.6259, allocations: 19.25 kB / 0.7472 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6259, allocations: 1.344 kB / 0.7472 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6259, allocations: 2.188 kB / 0.7472 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.626, allocations: 1.469 kB / 0.7472 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.626, allocations: 0.75 kB / 0.7472 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.6263, allocations: 220 kB / 0.7474 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.6264, allocations: 98.39 kB / 0.7475 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.6264, allocations: 5.656 kB / 0.7475 GB, free: 105.7 MB / 0.5105 GB 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.174e-05/0.6265, allocations: 10.22 kB / 0.7475 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.6265, allocations: 16.7 kB / 0.7475 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.6266, allocations: 4.375 kB / 0.7475 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001076/0.6267, allocations: 138.6 kB / 0.7476 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6267, allocations: 4 kB / 0.7476 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002522/0.6269, allocations: 38.16 kB / 0.7477 GB, free: 105.6 MB / 0.5105 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.001493/0.6284, allocations: 1.233 MB / 0.7489 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.6287, allocations: 107 kB / 0.749 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6287, allocations: 0 / 0.749 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.6289, allocations: 48.91 kB / 0.749 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.6291, allocations: 36.12 kB / 0.7491 GB, free: 104.8 MB / 0.5105 GB Warning: Could not resolve URI ("modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.6305, allocations: 1.277 MB / 0.7503 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.6306, allocations: 0.7148 MB / 0.751 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.466e-05/0.6307, allocations: 23.47 kB / 0.751 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.6308, allocations: 37.95 kB / 0.7511 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/0.6308, allocations: 0 / 0.7511 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/0.8367, allocations: 3.407 MB / 0.7544 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.837, allocations: 222.9 kB / 0.7546 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.495, allocations: 6.906 kB / 0.7546 GB, free: 102.5 MB / 0.5105 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)