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.7193/0.7193, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 188.7 kB / 169.7 MB, free: 1.734 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.962/1.962, allocations: 205.1 MB / 404.5 MB, free: 1.68 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.001024/0.001024, allocations: 79.7 kB / 481.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.646e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1745, allocations: 76.76 MB / 0.6283 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6121/0.7866, allocations: 106.4 MB / 0.7321 GB, free: 7.051 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.787, allocations: 83.27 kB / 0.7322 GB, free: 7.008 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.01209/0.7991, allocations: 4.534 MB / 0.7366 GB, free: 3.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.7991, allocations: 0 / 0.7366 GB, free: 3.438 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.7991, allocations: 7.938 kB / 0.7366 GB, free: 3.43 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.000573/0.7997, allocations: 414.8 kB / 0.737 GB, free: 2.988 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.7997, allocations: 8.031 kB / 0.737 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.7998, allocations: 42.44 kB / 0.7371 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.7999, allocations: 19.81 kB / 0.7371 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.8002, allocations: 218.3 kB / 0.7373 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.8002, allocations: 0 / 0.7373 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.8003, allocations: 7.625 kB / 0.7373 GB, free: 2.664 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.8004, allocations: 87.16 kB / 0.7374 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8005, allocations: 0 / 0.7374 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.8005, allocations: 0 / 0.7374 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8005, allocations: 15.89 kB / 0.7374 GB, free: 2.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.8006, allocations: 34.86 kB / 0.7374 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.8009, allocations: 211.5 kB / 0.7376 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.8011, allocations: 114.1 kB / 0.7378 GB, free: 2.164 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.8012, allocations: 44.58 kB / 0.7378 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.8012, allocations: 3.938 kB / 0.7378 GB, free: 2.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.8014, allocations: 99.58 kB / 0.7379 GB, free: 2.012 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.8014, allocations: 4 kB / 0.7379 GB, free: 2.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002921/0.8017, allocations: 106.8 kB / 0.738 GB, free: 1.914 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.8018, allocations: 144.4 kB / 0.7381 GB, free: 1.742 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.802, allocations: 164.2 kB / 0.7383 GB, free: 1.598 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.802, allocations: 29.02 kB / 0.7383 GB, free: 1.566 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.8021, allocations: 101.2 kB / 0.7384 GB, free: 1.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.8022, allocations: 31.5 kB / 0.7384 GB, free: 1.449 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.8022, allocations: 0 / 0.7384 GB, free: 1.449 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8023, allocations: 330.4 kB / 0.7388 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.8024, allocations: 18.69 kB / 0.7388 GB, free: 1.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.8025, allocations: 58.53 kB / 0.7388 GB, free: 1.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.8025, allocations: 30.86 kB / 0.7389 GB, free: 1.031 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8026, allocations: 4.031 kB / 0.7389 GB, free: 1.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.8027, allocations: 114.7 kB / 0.739 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8028, allocations: 8 kB / 0.739 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.8028, allocations: 0 / 0.739 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8028, allocations: 0 / 0.739 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.8029, allocations: 23.98 kB / 0.739 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.803, allocations: 3.984 kB / 0.739 GB, free: 0.8906 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 9.586e-05/0.8031, allocations: 23.91 kB / 0.739 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.8031, allocations: 7.938 kB / 0.739 GB, free: 0.8633 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.0001105/0.8032, allocations: 115.4 kB / 0.7392 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.8032, allocations: 15.81 kB / 0.7392 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.8035, allocations: 116.2 kB / 0.7393 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.8035, allocations: 4 kB / 0.7393 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8035, allocations: 0 / 0.7393 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.8035, allocations: 0 / 0.7393 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.8037, allocations: 214.9 kB / 0.7395 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8038, allocations: 7.969 kB / 0.7395 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.8038, allocations: 19.94 kB / 0.7395 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8039, allocations: 0 / 0.7395 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.8039, allocations: 11.61 kB / 0.7395 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8039, allocations: 128 / 0.7395 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8039, allocations: 4 kB / 0.7395 GB, free: 356 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.8042, allocations: 183.5 kB / 0.7397 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.8042, allocations: 92.31 kB / 0.7398 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.8043, allocations: 7.188 kB / 0.7398 GB, free: 44 kB / 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.532e-05/0.8044, allocations: 7.984 kB / 0.7398 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.8044, allocations: 19.94 kB / 0.7398 GB, free: 16 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.8045, allocations: 3.438 kB / 0.7398 GB, free: 16 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.8046, allocations: 140.6 kB / 0.74 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8046, allocations: 0 / 0.74 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002407/0.8049, allocations: 43.16 kB / 0.74 GB, free: 15.86 MB / 0.4948 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) * 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.00151/0.8064, allocations: 1.159 MB / 0.7411 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.8066, allocations: 76.17 kB / 0.7412 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8066, allocations: 0 / 0.7412 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.8067, allocations: 42.05 kB / 0.7412 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.8069, allocations: 26.62 kB / 0.7413 GB, free: 14.69 MB / 0.4948 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.0005708/0.8075, allocations: 223.5 kB / 0.7415 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.8078, allocations: 0.7185 MB / 0.7422 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.138e-05/0.8079, allocations: 28.94 kB / 0.7422 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.808, allocations: 40.42 kB / 0.7423 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.808, allocations: 0 / 0.7423 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7091/1.517, allocations: 3.393 MB / 0.7456 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.517, allocations: 200.1 kB / 0.7458 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/3.247, allocations: 3.938 kB / 0.7458 GB, free: 10.12 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)