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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005564/0.005563, allocations: 102.5 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 190.2 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8542/0.8542, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 68.98 kB / 0.595 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1663, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.003115/0.1694, allocations: 1.672 MB / 0.6768 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.1717, allocations: 1.514 MB / 0.6783 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.1718, allocations: 0 / 0.6783 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1721, allocations: 39.77 kB / 0.6783 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.1724, allocations: 63.62 kB / 0.6784 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1727, allocations: 122.7 kB / 0.6785 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1729, allocations: 127.6 kB / 0.6786 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.173, allocations: 9.125 kB / 0.6786 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1731, allocations: 47.78 kB / 0.6787 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1733, allocations: 59.69 kB / 0.6787 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1733, allocations: 4 kB / 0.6787 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1735, allocations: 63.97 kB / 0.6788 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1736, allocations: 27.86 kB / 0.6788 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.1736, allocations: 39.73 kB / 0.6788 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1739, allocations: 154.4 kB / 0.679 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1739, allocations: 0 / 0.679 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1739, allocations: 0 / 0.679 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1739, allocations: 0 / 0.679 GB, free: 6.898 MB / 0.5137 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.0006836/0.1746, allocations: 443.6 kB / 0.6794 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1747, allocations: 12.03 kB / 0.6794 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1747, allocations: 30.75 kB / 0.6795 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.1748, allocations: 8.844 kB / 0.6795 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.1751, allocations: 232.7 kB / 0.6797 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1752, allocations: 384 / 0.6797 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1752, allocations: 11.94 kB / 0.6797 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1754, allocations: 101 kB / 0.6798 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1754, allocations: 0 / 0.6798 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1755, allocations: 7.938 kB / 0.6798 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1755, allocations: 4 kB / 0.6798 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1756, allocations: 51.89 kB / 0.6799 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.1759, allocations: 207.5 kB / 0.6801 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1762, allocations: 123.7 kB / 0.6802 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1763, allocations: 46.62 kB / 0.6802 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1763, allocations: 4 kB / 0.6802 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.1766, allocations: 113.9 kB / 0.6803 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1766, allocations: 3.938 kB / 0.6803 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004603/0.177, allocations: 161.4 kB / 0.6805 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.1771, allocations: 136.8 kB / 0.6806 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1773, allocations: 182.2 kB / 0.6808 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1773, allocations: 25.7 kB / 0.6808 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.1774, allocations: 100.1 kB / 0.6809 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1774, allocations: 27.64 kB / 0.6809 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.1775, allocations: 25.72 kB / 0.681 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1776, allocations: 330.8 kB / 0.6813 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.1777, allocations: 27.98 kB / 0.6813 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1778, allocations: 72.2 kB / 0.6814 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.178, allocations: 91.38 kB / 0.6815 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.178, allocations: 7.938 kB / 0.6815 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002716/0.1783, allocations: 125.5 kB / 0.6816 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1783, allocations: 8 kB / 0.6816 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1783, allocations: 0 / 0.6816 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1783, allocations: 0 / 0.6816 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1785, allocations: 23.98 kB / 0.6816 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1785, allocations: 12.03 kB / 0.6816 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.1786, allocations: 11.89 kB / 0.6816 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1786, allocations: 4 kB / 0.6816 GB, free: 3.852 MB / 0.5137 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 9.366e-05/0.1787, allocations: 125.8 kB / 0.6818 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1787, allocations: 11.91 kB / 0.6818 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.1788, allocations: 17.39 kB / 0.6818 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1788, allocations: 320 / 0.6818 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1788, allocations: 0 / 0.6818 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1788, allocations: 4 kB / 0.6818 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.179, allocations: 213.5 kB / 0.682 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.179, allocations: 192 / 0.682 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.1791, allocations: 15.98 kB / 0.682 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1791, allocations: 3.938 kB / 0.682 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1791, allocations: 0 / 0.682 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.1791, allocations: 7.938 kB / 0.682 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1791, allocations: 0 / 0.682 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1794, allocations: 170.5 kB / 0.6822 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1795, allocations: 92.94 kB / 0.6823 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1795, allocations: 3.938 kB / 0.6823 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1796, allocations: 12 kB / 0.6823 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1796, allocations: 7.984 kB / 0.6823 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1797, allocations: 4 kB / 0.6823 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001036/0.1798, allocations: 136.2 kB / 0.6824 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1798, allocations: 0 / 0.6824 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002575/0.18, allocations: 28 kB / 0.6825 GB, free: 2.906 MB / 0.5137 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.001397/0.1814, allocations: 1.049 MB / 0.6835 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.1817, allocations: 83.89 kB / 0.6836 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1817, allocations: 0 / 0.6836 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1819, allocations: 47.91 kB / 0.6836 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1822, allocations: 33.89 kB / 0.6836 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1842, allocations: 1.693 MB / 0.6853 GB, free: 36 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1845, allocations: 0.7041 MB / 0.686 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.145e-05/0.1846, allocations: 28.41 kB / 0.686 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.1847, allocations: 39.41 kB / 0.686 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of SimCode: time 4.5e-07/0.1847, allocations: 4 kB / 0.6861 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.2067, allocations: 3.909 MB / 0.6899 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.703, allocations: 9.219 kB / 0.6899 GB, free: 11.4 MB / 0.5294 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/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)