Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 178 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6239/0.6239, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 93.59 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.696e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.157, allocations: 72.32 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.538/0.6951, allocations: 105.1 MB / 0.6562 GB, free: 4.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.6954, allocations: 85.62 kB / 0.6563 GB, free: 4.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01176/0.7072, allocations: 4.541 MB / 0.6607 GB, free: 1.359 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.7072, allocations: 0 / 0.6607 GB, free: 1.359 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.7072, allocations: 11.94 kB / 0.6607 GB, free: 1.348 MB / 458.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.0004981/0.7077, allocations: 424.5 kB / 0.6611 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7078, allocations: 8.031 kB / 0.6612 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.7078, allocations: 15.84 kB / 0.6612 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.7082, allocations: 217.2 kB / 0.6614 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.7082, allocations: 0 / 0.6614 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.7082, allocations: 4 kB / 0.6614 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.7083, allocations: 34.28 kB / 0.6614 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.7085, allocations: 91.03 kB / 0.6615 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7085, allocations: 7.891 kB / 0.6615 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7085, allocations: 0 / 0.6615 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7085, allocations: 0 / 0.6615 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.7088, allocations: 193.8 kB / 0.6617 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.7089, allocations: 94.34 kB / 0.6618 GB, free: 180 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.709, allocations: 52.42 kB / 0.6618 GB, free: 128 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.709, allocations: 0 / 0.6618 GB, free: 128 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.7092, allocations: 98.14 kB / 0.6619 GB, free: 20 kB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.7092, allocations: 0 / 0.6619 GB, free: 20 kB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002623/0.7095, allocations: 110 kB / 0.662 GB, free: 15.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.7095, allocations: 128.5 kB / 0.6622 GB, free: 15.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.7097, allocations: 170 kB / 0.6623 GB, free: 15.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.7097, allocations: 29.77 kB / 0.6623 GB, free: 15.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.7098, allocations: 105.2 kB / 0.6624 GB, free: 15.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.7098, allocations: 26.64 kB / 0.6625 GB, free: 15.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.7098, allocations: 0 / 0.6625 GB, free: 15.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7099, allocations: 326.2 kB / 0.6628 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.71, allocations: 17.62 kB / 0.6628 GB, free: 15.13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.71, allocations: 57.72 kB / 0.6629 GB, free: 15.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.7101, allocations: 26.7 kB / 0.6629 GB, free: 15.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7101, allocations: 0 / 0.6629 GB, free: 15.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001586/0.7103, allocations: 107.1 kB / 0.663 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7103, allocations: 4 kB / 0.663 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7103, allocations: 0 / 0.663 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.7103, allocations: 4 kB / 0.663 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.7105, allocations: 28.02 kB / 0.663 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7105, allocations: 4 kB / 0.663 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.7106, allocations: 15.89 kB / 0.663 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.7106, allocations: 3.953 kB / 0.663 GB, free: 14.9 MB / 474.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 8.342e-05/0.7107, allocations: 111.2 kB / 0.6631 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001645/0.7108, allocations: 115.1 kB / 0.6633 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.7109, allocations: 19.88 kB / 0.6633 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.7111, allocations: 111.2 kB / 0.6634 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.7111, allocations: 4 kB / 0.6634 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7111, allocations: 3.953 kB / 0.6634 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7111, allocations: 3.984 kB / 0.6634 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.7113, allocations: 183.3 kB / 0.6636 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7113, allocations: 0 / 0.6636 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.392e-05/0.7114, allocations: 19.98 kB / 0.6636 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7114, allocations: 0 / 0.6636 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.7114, allocations: 8.188 kB / 0.6636 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7114, allocations: 0 / 0.6636 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7114, allocations: 8.016 kB / 0.6636 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.7116, allocations: 181.8 kB / 0.6638 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.7117, allocations: 96.91 kB / 0.6639 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.7117, allocations: 4 kB / 0.6639 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.7118, allocations: 7.953 kB / 0.6639 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.7119, allocations: 19.8 kB / 0.6639 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.7119, allocations: 3.984 kB / 0.6639 GB, free: 13.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.712, allocations: 129 kB / 0.664 GB, free: 13.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.712, allocations: 0 / 0.664 GB, free: 13.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.7123, allocations: 42.48 kB / 0.6641 GB, free: 13.84 MB / 474.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.001257/0.7135, allocations: 1.131 MB / 0.6652 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.7137, allocations: 64.12 kB / 0.6652 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7137, allocations: 4.062 kB / 0.6652 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.7138, allocations: 38.67 kB / 0.6653 GB, free: 12.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.714, allocations: 22.86 kB / 0.6653 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.7145, allocations: 224.6 kB / 0.6655 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.7148, allocations: 0.712 MB / 0.6662 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.757e-05/0.7149, allocations: 21.02 kB / 0.6662 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.7149, allocations: 37.3 kB / 0.6663 GB, free: 11.67 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.715, allocations: 0 / 0.6663 GB, free: 11.67 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.7365, allocations: 3.039 MB / 0.6692 GB, free: 8.672 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.7367, allocations: 163.3 kB / 0.6694 GB, free: 8.477 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.347, allocations: 0 / 0.6694 GB, free: 8.477 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)