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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.004802/0.004802, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001246/0.001246, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.023/1.023, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 64.08 kB / 0.5953 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4147, allocations: 82.03 MB / 0.6754 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002781/0.4176, allocations: 1.672 MB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.4198, allocations: 1.508 MB / 0.6785 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.4199, allocations: 1.281 kB / 0.6785 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.4203, allocations: 41.7 kB / 0.6786 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.4205, allocations: 66.97 kB / 0.6786 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.4208, allocations: 115.8 kB / 0.6787 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.4211, allocations: 121.4 kB / 0.6788 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.69e-05/0.4212, allocations: 18.06 kB / 0.6789 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4213, allocations: 57.17 kB / 0.6789 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.4215, allocations: 52.58 kB / 0.679 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.4216, allocations: 7.062 kB / 0.679 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.4217, allocations: 62.22 kB / 0.679 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.4218, allocations: 25.53 kB / 0.6791 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.4219, allocations: 45.77 kB / 0.6791 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.4221, allocations: 139.9 kB / 0.6792 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4221, allocations: 4 kB / 0.6792 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.637e-06/0.4222, allocations: 1.281 kB / 0.6792 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4222, allocations: 3.938 kB / 0.6792 GB, free: 14.05 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.0006779/0.4228, allocations: 451.2 kB / 0.6797 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4229, allocations: 9.562 kB / 0.6797 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.4229, allocations: 35.8 kB / 0.6797 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.423, allocations: 10.17 kB / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.4233, allocations: 223.6 kB / 0.6799 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4233, allocations: 6.625 kB / 0.6799 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4234, allocations: 10.06 kB / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.4236, allocations: 96.23 kB / 0.68 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.4236, allocations: 1.156 kB / 0.6801 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4236, allocations: 5.062 kB / 0.6801 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4236, allocations: 1.25 kB / 0.6801 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.4238, allocations: 55.73 kB / 0.6801 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.4241, allocations: 209 kB / 0.6803 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.4244, allocations: 121.1 kB / 0.6804 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.4245, allocations: 49.39 kB / 0.6805 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4246, allocations: 5.438 kB / 0.6805 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.4248, allocations: 116.8 kB / 0.6806 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.4248, allocations: 0 / 0.6806 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0005361/0.4254, allocations: 158.4 kB / 0.6807 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.4255, allocations: 130.8 kB / 0.6809 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4257, allocations: 185.4 kB / 0.681 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4257, allocations: 31.98 kB / 0.6811 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.4258, allocations: 100.6 kB / 0.6812 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.4258, allocations: 20.39 kB / 0.6812 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.4259, allocations: 24.27 kB / 0.6812 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.426, allocations: 326.5 kB / 0.6815 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.4261, allocations: 33.2 kB / 0.6816 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4263, allocations: 66.33 kB / 0.6816 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.4265, allocations: 98.42 kB / 0.6817 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4266, allocations: 7.969 kB / 0.6817 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003061/0.4269, allocations: 127.6 kB / 0.6818 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4269, allocations: 6.25 kB / 0.6818 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4269, allocations: 1.062 kB / 0.6818 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4269, allocations: 5.281 kB / 0.6819 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4271, allocations: 28.14 kB / 0.6819 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4271, allocations: 5.234 kB / 0.6819 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.4272, allocations: 13.78 kB / 0.6819 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4272, allocations: 3.5 kB / 0.6819 GB, free: 11.54 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 0.0001207/0.4273, allocations: 130 kB / 0.682 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.4273, allocations: 14.75 kB / 0.682 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.4274, allocations: 14.22 kB / 0.6821 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4274, allocations: 5.234 kB / 0.6821 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4274, allocations: 1.125 kB / 0.6821 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4274, allocations: 1.156 kB / 0.6821 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.4276, allocations: 205.1 kB / 0.6823 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4277, allocations: 5.109 kB / 0.6823 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.4277, allocations: 14.2 kB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4277, allocations: 1.219 kB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4278, allocations: 6.406 kB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4278, allocations: 5.156 kB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4278, allocations: 1.375 kB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.4281, allocations: 174.5 kB / 0.6825 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.4282, allocations: 84.56 kB / 0.6825 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.4282, allocations: 2.188 kB / 0.6825 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.4283, allocations: 12.64 kB / 0.6825 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4284, allocations: 12.98 kB / 0.6826 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4284, allocations: 2.938 kB / 0.6826 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001296/0.4285, allocations: 136.5 kB / 0.6827 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4285, allocations: 0 / 0.6827 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002573/0.4288, allocations: 38.16 kB / 0.6827 GB, free: 10.77 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.002125/0.4309, allocations: 1.043 MB / 0.6837 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.4312, allocations: 96 kB / 0.6838 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4313, allocations: 0 / 0.6838 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4314, allocations: 41.92 kB / 0.6839 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4317, allocations: 38 kB / 0.6839 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.4339, allocations: 1.704 MB / 0.6856 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.4342, allocations: 0.702 MB / 0.6863 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.068e-05/0.4343, allocations: 23.47 kB / 0.6863 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.4344, allocations: 42.36 kB / 0.6863 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4344, allocations: 4 kB / 0.6863 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.4609, allocations: 3.853 MB / 0.6901 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.582, allocations: 5.312 kB / 0.6901 GB, free: 5.559 MB / 0.5137 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)