Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_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.001037/0.001037, allocations: 100.5 kB / 16.27 MB, free: 5.965 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.001018/0.001018, allocations: 190.2 kB / 17.2 MB, free: 5.594 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.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7236/0.7236, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.293, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002627/0.2957, allocations: 1.666 MB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2974, allocations: 1.51 MB / 0.5704 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.2975, allocations: 1.781 kB / 0.5704 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.2977, allocations: 38.73 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.2979, allocations: 64.5 kB / 0.5705 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2982, allocations: 116.9 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.2983, allocations: 124 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.2984, allocations: 8.562 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2985, allocations: 56.3 kB / 0.5708 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2987, allocations: 55.47 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.2987, allocations: 6.906 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.2988, allocations: 60.56 kB / 0.5709 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.2989, allocations: 26.94 kB / 0.5709 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.299, allocations: 46.59 kB / 0.571 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.2992, allocations: 145.8 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2992, allocations: 1.188 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2992, allocations: 0 / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2992, allocations: 1.438 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB 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.0004983/0.2997, allocations: 448 kB / 0.5715 GB, free: 29.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2997, allocations: 10.86 kB / 0.5715 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.715e-05/0.2998, allocations: 37.05 kB / 0.5716 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.2998, allocations: 15.53 kB / 0.5716 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3, allocations: 220.5 kB / 0.5718 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3, allocations: 5.406 kB / 0.5718 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3, allocations: 8.5 kB / 0.5718 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3003, allocations: 101 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3003, allocations: 1.75 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3003, allocations: 1.75 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3003, allocations: 1.094 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3005, allocations: 56.98 kB / 0.572 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3006, allocations: 207.6 kB / 0.5722 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.3009, allocations: 117.1 kB / 0.5723 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.301, allocations: 49.81 kB / 0.5723 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.301, allocations: 2.812 kB / 0.5723 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.3013, allocations: 110.6 kB / 0.5724 GB, free: 28.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3013, allocations: 3.938 kB / 0.5724 GB, free: 28.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004434/0.3017, allocations: 167 kB / 0.5726 GB, free: 28.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3018, allocations: 130.8 kB / 0.5727 GB, free: 28.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3019, allocations: 173.3 kB / 0.5729 GB, free: 28.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3019, allocations: 32.33 kB / 0.5729 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.302, allocations: 103.8 kB / 0.573 GB, free: 28.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.302, allocations: 26.19 kB / 0.573 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.302, allocations: 24.83 kB / 0.5731 GB, free: 28.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.3021, allocations: 326.3 kB / 0.5734 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3022, allocations: 27.39 kB / 0.5734 GB, free: 27.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3023, allocations: 72.2 kB / 0.5735 GB, free: 27.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3025, allocations: 93.72 kB / 0.5736 GB, free: 27.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3025, allocations: 5.469 kB / 0.5736 GB, free: 27.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002825/0.3028, allocations: 132.4 kB / 0.5737 GB, free: 27.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3029, allocations: 5.828 kB / 0.5737 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3029, allocations: 1.188 kB / 0.5737 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3029, allocations: 1.125 kB / 0.5737 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.303, allocations: 24.95 kB / 0.5737 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.303, allocations: 2.266 kB / 0.5737 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.3031, allocations: 18.27 kB / 0.5737 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3031, allocations: 3.312 kB / 0.5737 GB, free: 27.75 MB / 446.1 MB 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 7.043e-05/0.3032, allocations: 130.4 kB / 0.5739 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.3032, allocations: 15.27 kB / 0.5739 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.3033, allocations: 21.53 kB / 0.5739 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3033, allocations: 3.297 kB / 0.5739 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3033, allocations: 0 / 0.5739 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3033, allocations: 2.969 kB / 0.5739 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3034, allocations: 204.9 kB / 0.5741 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3034, allocations: 1.438 kB / 0.5741 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.3035, allocations: 13.42 kB / 0.5741 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3035, allocations: 3.328 kB / 0.5741 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3035, allocations: 3.109 kB / 0.5741 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3035, allocations: 1.828 kB / 0.5741 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3036, allocations: 5.156 kB / 0.5741 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3038, allocations: 172 kB / 0.5743 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.3039, allocations: 87.73 kB / 0.5744 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.3039, allocations: 5.688 kB / 0.5744 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.304, allocations: 6.719 kB / 0.5744 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.304, allocations: 11.84 kB / 0.5744 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3041, allocations: 4.828 kB / 0.5744 GB, free: 27.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.537e-05/0.3042, allocations: 138.7 kB / 0.5745 GB, free: 27.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3042, allocations: 0 / 0.5745 GB, free: 27.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3044, allocations: 28.89 kB / 0.5746 GB, free: 27.07 MB / 446.1 MB 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.001266/0.3057, allocations: 1.053 MB / 0.5756 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.306, allocations: 87.97 kB / 0.5757 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.306, allocations: 0.5938 kB / 0.5757 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3061, allocations: 46.28 kB / 0.5757 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.3064, allocations: 30.17 kB / 0.5758 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.308, allocations: 1.702 MB / 0.5774 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3081, allocations: 0.703 MB / 0.5781 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.983e-05/0.3082, allocations: 23.92 kB / 0.5781 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.3083, allocations: 43.09 kB / 0.5782 GB, free: 24.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3083, allocations: 0 / 0.5782 GB, free: 24.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.3265, allocations: 3.752 MB / 0.5818 GB, free: 23.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.406, allocations: 18.36 kB / 0.5819 GB, free: 23.19 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)