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.001254/0.001253, allocations: 180.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5046/0.5046, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001014, allocations: 100.3 kB / 427.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 12 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 72.31 MB / 0.5689 GB, free: 1.785 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5314/0.6858, allocations: 105.8 MB / 0.6722 GB, free: 14.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.6861, allocations: 79.95 kB / 0.6723 GB, free: 14.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01283/0.6989, allocations: 4.875 MB / 0.6771 GB, free: 9.594 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.699, allocations: 3.938 kB / 0.6771 GB, free: 9.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.699, allocations: 4 kB / 0.6771 GB, free: 9.586 MB / 474.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.0007199/0.6997, allocations: 454.7 kB / 0.6775 GB, free: 9.094 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.6998, allocations: 12.03 kB / 0.6775 GB, free: 9.082 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/0.6999, allocations: 30.56 kB / 0.6776 GB, free: 9.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.6999, allocations: 15.81 kB / 0.6776 GB, free: 9.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.7003, allocations: 214.8 kB / 0.6778 GB, free: 8.777 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.7003, allocations: 8 kB / 0.6778 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.7003, allocations: 4 kB / 0.6778 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.7006, allocations: 105.1 kB / 0.6779 GB, free: 8.645 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7006, allocations: 0 / 0.6779 GB, free: 8.645 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.7006, allocations: 3.953 kB / 0.6779 GB, free: 8.641 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7006, allocations: 3.938 kB / 0.6779 GB, free: 8.637 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.7008, allocations: 67.88 kB / 0.678 GB, free: 8.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.7011, allocations: 219.4 kB / 0.6782 GB, free: 8.301 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.7014, allocations: 127.8 kB / 0.6783 GB, free: 8.148 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.7015, allocations: 0 / 0.6783 GB, free: 8.148 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.7017, allocations: 118 kB / 0.6784 GB, free: 8.012 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.7017, allocations: 4 kB / 0.6784 GB, free: 8.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.7022, allocations: 177.4 kB / 0.6786 GB, free: 7.828 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.7023, allocations: 140.7 kB / 0.6787 GB, free: 7.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.7025, allocations: 161.5 kB / 0.6789 GB, free: 7.496 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.7025, allocations: 33.7 kB / 0.6789 GB, free: 7.457 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.7026, allocations: 100.1 kB / 0.679 GB, free: 7.355 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.7027, allocations: 27.64 kB / 0.679 GB, free: 7.328 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.7027, allocations: 4 kB / 0.679 GB, free: 7.324 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7028, allocations: 322.8 kB / 0.6793 GB, free: 7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.7029, allocations: 35.98 kB / 0.6794 GB, free: 6.965 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.7031, allocations: 68.27 kB / 0.6794 GB, free: 6.883 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.7032, allocations: 48 kB / 0.6795 GB, free: 6.836 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7032, allocations: 3.938 kB / 0.6795 GB, free: 6.832 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003031/0.7035, allocations: 145.4 kB / 0.6796 GB, free: 6.684 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7035, allocations: 7.938 kB / 0.6796 GB, free: 6.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7036, allocations: 4.094 kB / 0.6796 GB, free: 6.672 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7036, allocations: 4 kB / 0.6796 GB, free: 6.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.7037, allocations: 19.98 kB / 0.6797 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.7037, allocations: 11.94 kB / 0.6797 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.7038, allocations: 8 kB / 0.6797 GB, free: 6.629 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.7038, allocations: 7.984 kB / 0.6797 GB, free: 6.621 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 () * 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.0001254/0.704, allocations: 128.4 kB / 0.6798 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.704, allocations: 15.81 kB / 0.6798 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.7043, allocations: 123 kB / 0.6799 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7043, allocations: 4 kB / 0.6799 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7043, allocations: 0 / 0.6799 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7043, allocations: 3.953 kB / 0.6799 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.7046, allocations: 209.8 kB / 0.6801 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7046, allocations: 0 / 0.6801 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.7047, allocations: 27.94 kB / 0.6802 GB, free: 6.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.7047, allocations: 8.172 kB / 0.6802 GB, free: 6.039 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.7047, allocations: 4 kB / 0.6802 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7047, allocations: 3.938 kB / 0.6802 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7047, allocations: 0 / 0.6802 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.7051, allocations: 217.9 kB / 0.6804 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.7052, allocations: 89 kB / 0.6805 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.7052, allocations: 8 kB / 0.6805 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.7053, allocations: 15.94 kB / 0.6805 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.7053, allocations: 11.98 kB / 0.6805 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7054, allocations: 4 kB / 0.6805 GB, free: 5.637 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.7055, allocations: 135.2 kB / 0.6806 GB, free: 5.504 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7055, allocations: 0 / 0.6806 GB, free: 5.504 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.7058, allocations: 43.91 kB / 0.6807 GB, free: 5.461 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) * 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.001695/0.7075, allocations: 1.233 MB / 0.6819 GB, free: 4.371 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.7078, allocations: 99.98 kB / 0.682 GB, free: 4.273 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7078, allocations: 4.062 kB / 0.682 GB, free: 4.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.708, allocations: 63.84 kB / 0.682 GB, free: 4.207 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.7082, allocations: 26.36 kB / 0.6821 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.7097, allocations: 1.278 MB / 0.6833 GB, free: 2.836 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.7101, allocations: 0.7121 MB / 0.684 GB, free: 2.098 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.111e-05/0.7102, allocations: 28.61 kB / 0.684 GB, free: 2.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.7103, allocations: 43.41 kB / 0.6841 GB, free: 2.027 MB / 474.7 MB Notification: Performance of SimCode: time 6.271e-06/0.7103, allocations: 4 kB / 0.6841 GB, free: 2.023 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.7279, allocations: 3.378 MB / 0.6874 GB, free: 14.77 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.7282, allocations: 220.2 kB / 0.6876 GB, free: 14.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.428, allocations: 4.109 kB / 0.6876 GB, free: 14.52 MB / 490.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)