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.00643/0.00643, allocations: 96.7 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.0012/0.0012, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 1.002/1.002, allocations: 143 MB / 433.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3643, allocations: 82.03 MB / 0.6752 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002569/0.3669, allocations: 1.671 MB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.369, allocations: 1.507 MB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.3691, allocations: 2.281 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.3694, allocations: 40.23 kB / 0.6783 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.3697, allocations: 71.61 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.37, allocations: 114.6 kB / 0.6785 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.3702, allocations: 134.4 kB / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.3702, allocations: 6.906 kB / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3704, allocations: 61.34 kB / 0.6787 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3706, allocations: 49.58 kB / 0.6787 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3706, allocations: 5.781 kB / 0.6787 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3707, allocations: 65.48 kB / 0.6788 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.3708, allocations: 22.23 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.3709, allocations: 42.98 kB / 0.6789 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3711, allocations: 147.3 kB / 0.679 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3711, allocations: 4 kB / 0.679 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.608e-06/0.3712, allocations: 0 / 0.679 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3712, allocations: 8.875 kB / 0.679 GB, free: 14.14 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.0006049/0.3718, allocations: 446.3 kB / 0.6794 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3718, allocations: 9.812 kB / 0.6794 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.424e-05/0.3719, allocations: 35.83 kB / 0.6795 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.372, allocations: 10.61 kB / 0.6795 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.3723, allocations: 220.4 kB / 0.6797 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3723, allocations: 5.438 kB / 0.6797 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3723, allocations: 14.02 kB / 0.6797 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3726, allocations: 97.36 kB / 0.6798 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3726, allocations: 0 / 0.6798 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3726, allocations: 5.219 kB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3726, allocations: 1.125 kB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.3728, allocations: 55.58 kB / 0.6799 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.373, allocations: 214.4 kB / 0.6801 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.3733, allocations: 116.7 kB / 0.6802 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3734, allocations: 48.45 kB / 0.6802 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3735, allocations: 2.25 kB / 0.6802 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.3737, allocations: 116.8 kB / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3737, allocations: 0 / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0005297/0.3742, allocations: 157.8 kB / 0.6805 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.3743, allocations: 131.1 kB / 0.6806 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3745, allocations: 185.6 kB / 0.6808 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3745, allocations: 27.83 kB / 0.6808 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.3746, allocations: 104.2 kB / 0.6809 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.3746, allocations: 28.59 kB / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3747, allocations: 20.44 kB / 0.681 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3748, allocations: 326.5 kB / 0.6813 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3749, allocations: 33.84 kB / 0.6813 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3751, allocations: 60.72 kB / 0.6814 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.3753, allocations: 99.7 kB / 0.6815 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3753, allocations: 7.969 kB / 0.6815 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003016/0.3756, allocations: 128.4 kB / 0.6816 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3756, allocations: 6.531 kB / 0.6816 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3757, allocations: 5.078 kB / 0.6816 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3757, allocations: 2.281 kB / 0.6816 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3758, allocations: 23.2 kB / 0.6816 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.3758, allocations: 6.359 kB / 0.6816 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.3759, allocations: 17.59 kB / 0.6817 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3759, allocations: 7.469 kB / 0.6817 GB, free: 11.63 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.0001071/0.376, allocations: 130.1 kB / 0.6818 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3761, allocations: 18.61 kB / 0.6818 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.3761, allocations: 18.17 kB / 0.6818 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3761, allocations: 1.312 kB / 0.6818 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3761, allocations: 1.25 kB / 0.6818 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3762, allocations: 1.5 kB / 0.6818 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3763, allocations: 208.8 kB / 0.682 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3763, allocations: 1.094 kB / 0.682 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.3764, allocations: 18.08 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3764, allocations: 1.125 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3765, allocations: 6.281 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3765, allocations: 1.125 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3765, allocations: 1.062 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.3768, allocations: 170.3 kB / 0.6822 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3769, allocations: 84.72 kB / 0.6823 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.377, allocations: 2.219 kB / 0.6823 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.3771, allocations: 13.2 kB / 0.6823 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.3771, allocations: 12.36 kB / 0.6823 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3771, allocations: 7.625 kB / 0.6823 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001157/0.3773, allocations: 137 kB / 0.6825 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3773, allocations: 0 / 0.6825 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002601/0.3775, allocations: 32.95 kB / 0.6825 GB, free: 10.86 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.001599/0.3791, allocations: 1.041 MB / 0.6835 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.3795, allocations: 92.55 kB / 0.6836 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3795, allocations: 0 / 0.6836 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3796, allocations: 46.22 kB / 0.6836 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3799, allocations: 30.31 kB / 0.6837 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3821, allocations: 1.701 MB / 0.6853 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3825, allocations: 0.7021 MB / 0.686 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.183e-05/0.3826, allocations: 23.47 kB / 0.686 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.3827, allocations: 42.41 kB / 0.6861 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.3827, allocations: 4 kB / 0.6861 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.4042, allocations: 3.853 MB / 0.6898 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.412, allocations: 5.047 kB / 0.6898 GB, free: 5.66 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)