Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.282/1.282, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 179.5 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007045/0.0007041, allocations: 82.06 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 9.375 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.17, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001546/0.1716, allocations: 1.41 MB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.173, allocations: 1.411 MB / 0.899 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.1731, allocations: 0 / 0.899 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.1733, allocations: 31.91 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1735, allocations: 55.7 kB / 0.899 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1737, allocations: 89.89 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1738, allocations: 115.6 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.1738, allocations: 17.09 kB / 0.8993 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1739, allocations: 43.78 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1741, allocations: 63.69 kB / 0.8994 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1741, allocations: 0 / 0.8994 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.1742, allocations: 59.97 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1743, allocations: 23.86 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1743, allocations: 39.67 kB / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1745, allocations: 147.6 kB / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1745, allocations: 0 / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1745, allocations: 0 / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1745, allocations: 0 / 0.8996 GB, free: 64.5 MB / 0.6042 GB 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.0004337/0.175, allocations: 427 kB / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.175, allocations: 12.03 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.175, allocations: 30.75 kB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1751, allocations: 16.75 kB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1752, allocations: 220.1 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.1753, allocations: 384 / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1753, allocations: 7.938 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1755, allocations: 113 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1755, allocations: 0 / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1755, allocations: 0 / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1755, allocations: 0 / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1757, allocations: 63.89 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.1758, allocations: 211.4 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.176, allocations: 123.7 kB / 0.9008 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1762, allocations: 54.61 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1762, allocations: 0 / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.1764, allocations: 117.9 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1764, allocations: 0 / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003925/0.1768, allocations: 177.7 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.1769, allocations: 128.5 kB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.177, allocations: 174.9 kB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.177, allocations: 29.95 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.177, allocations: 108.1 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1771, allocations: 23.66 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.1771, allocations: 13.72 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.1771, allocations: 326.8 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.165e-05/0.1772, allocations: 39.86 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.1773, allocations: 76.27 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1775, allocations: 99.38 kB / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1775, allocations: 3.938 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002381/0.1778, allocations: 141.6 kB / 0.9022 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.1778, allocations: 8.094 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1778, allocations: 7.938 kB / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.1778, allocations: 0 / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1779, allocations: 23.92 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1779, allocations: 4 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.178, allocations: 15.98 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.178, allocations: 4 kB / 0.9023 GB, free: 61.43 MB / 0.6042 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.1781, allocations: 128 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1781, allocations: 11.81 kB / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.1782, allocations: 25.39 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1782, allocations: 0 / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1782, allocations: 0 / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1782, allocations: 0 / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.871e-05/0.1783, allocations: 209.5 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1783, allocations: 4 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.1784, allocations: 15.98 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1784, allocations: 7.984 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1784, allocations: 7.938 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1784, allocations: 3.984 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1784, allocations: 3.984 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.1787, allocations: 174.6 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.1787, allocations: 89 kB / 0.9029 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.1787, allocations: 4.125 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1788, allocations: 11.98 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1788, allocations: 8 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1789, allocations: 7.984 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.427e-05/0.1789, allocations: 139.2 kB / 0.9031 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.179, allocations: 0 / 0.9031 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002072/0.1792, allocations: 31.98 kB / 0.9031 GB, free: 60.46 MB / 0.6042 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.1803, allocations: 1.048 MB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1805, allocations: 91.89 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1805, allocations: 0 / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1807, allocations: 47.91 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1809, allocations: 28.3 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1824, allocations: 1.725 MB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.1825, allocations: 0.7083 MB / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.633e-05/0.1826, allocations: 24.45 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.1826, allocations: 43.41 kB / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.1826, allocations: 0 / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/0.3563, allocations: 3.326 MB / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.3565, allocations: 249.5 kB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.041, allocations: 0 / 0.9103 GB, free: 53.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)