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.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.9689/0.9689, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 56.14 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1522, allocations: 82.05 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.0032/0.1554, allocations: 1.661 MB / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.1576, allocations: 1.51 MB / 0.5975 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1577, allocations: 0 / 0.5975 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.158, allocations: 35.77 kB / 0.5975 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1583, allocations: 67.64 kB / 0.5976 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1587, allocations: 110.5 kB / 0.5977 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1589, allocations: 135.5 kB / 0.5978 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.1589, allocations: 9.109 kB / 0.5978 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1591, allocations: 59.7 kB / 0.5979 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1593, allocations: 51.77 kB / 0.5979 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1593, allocations: 8 kB / 0.5979 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1595, allocations: 63.91 kB / 0.598 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.1596, allocations: 23.92 kB / 0.598 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.1596, allocations: 51.72 kB / 0.5981 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1599, allocations: 135.9 kB / 0.5982 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1599, allocations: 0 / 0.5982 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1599, allocations: 0 / 0.5982 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1599, allocations: 0 / 0.5982 GB, free: 5.578 MB / 0.4981 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.0006531/0.1606, allocations: 442.9 kB / 0.5986 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1606, allocations: 12.03 kB / 0.5986 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.1607, allocations: 30.75 kB / 0.5987 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.1607, allocations: 24.69 kB / 0.5987 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.161, allocations: 217.1 kB / 0.5989 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.161, allocations: 384 / 0.5989 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.161, allocations: 11.94 kB / 0.5989 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1613, allocations: 93.08 kB / 0.599 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1613, allocations: 3.938 kB / 0.599 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1613, allocations: 11.94 kB / 0.599 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1613, allocations: 0 / 0.599 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.1615, allocations: 47.95 kB / 0.5991 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.1618, allocations: 207.4 kB / 0.5993 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1621, allocations: 127.6 kB / 0.5994 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1622, allocations: 50.56 kB / 0.5994 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1623, allocations: 11.98 kB / 0.5994 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1626, allocations: 109.9 kB / 0.5995 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1626, allocations: 0 / 0.5995 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005137/0.1631, allocations: 161.3 kB / 0.5997 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.1632, allocations: 136.8 kB / 0.5998 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1634, allocations: 178.4 kB / 0.6 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1634, allocations: 29.7 kB / 0.6 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.1635, allocations: 100.1 kB / 0.6001 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1635, allocations: 19.72 kB / 0.6001 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.1636, allocations: 25.7 kB / 0.6002 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1637, allocations: 326.8 kB / 0.6005 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1638, allocations: 31.98 kB / 0.6005 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1639, allocations: 68.2 kB / 0.6006 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.1642, allocations: 91.44 kB / 0.6007 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1642, allocations: 4.188 kB / 0.6007 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003136/0.1645, allocations: 137.3 kB / 0.6008 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1645, allocations: 10.34 kB / 0.6008 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1645, allocations: 0 / 0.6008 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1645, allocations: 0 / 0.6008 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1647, allocations: 28.08 kB / 0.6008 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1647, allocations: 4 kB / 0.6008 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.1648, allocations: 11.92 kB / 0.6009 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1648, allocations: 4 kB / 0.6009 GB, free: 2.539 MB / 0.4981 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 0.000103/0.1649, allocations: 129.7 kB / 0.601 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.165, allocations: 15.89 kB / 0.601 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.165, allocations: 17.39 kB / 0.601 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.165, allocations: 3.984 kB / 0.601 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.165, allocations: 8 kB / 0.601 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1651, allocations: 0 / 0.601 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1652, allocations: 205.5 kB / 0.6012 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1652, allocations: 192 / 0.6012 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.1653, allocations: 15.98 kB / 0.6012 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1653, allocations: 3.938 kB / 0.6012 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1653, allocations: 3.984 kB / 0.6012 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1653, allocations: 7.938 kB / 0.6012 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1653, allocations: 0 / 0.6012 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1657, allocations: 174.6 kB / 0.6014 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.1657, allocations: 88.92 kB / 0.6015 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1658, allocations: 0 / 0.6015 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.1659, allocations: 15.98 kB / 0.6015 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1659, allocations: 4 kB / 0.6015 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1659, allocations: 11.98 kB / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001113/0.166, allocations: 128.2 kB / 0.6017 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.166, allocations: 0 / 0.6017 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002583/0.1663, allocations: 31.98 kB / 0.6017 GB, free: 1.582 MB / 0.4981 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.00149/0.1678, allocations: 1.038 MB / 0.6027 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.1681, allocations: 87.89 kB / 0.6028 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1681, allocations: 3.938 kB / 0.6028 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1683, allocations: 48.03 kB / 0.6028 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1686, allocations: 38.88 kB / 0.6029 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2485/0.4171, allocations: 1.678 MB / 0.6045 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.4173, allocations: 0.7023 MB / 0.6052 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.4174, allocations: 29.31 kB / 0.6052 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.4175, allocations: 37.36 kB / 0.6053 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.4175, allocations: 1.594 kB / 0.6053 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.4379, allocations: 3.765 MB / 0.6089 GB, free: 41.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.874, allocations: 7.375 kB / 0.6089 GB, free: 41.67 MB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)