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.001057/0.001057, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001101/0.001101, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.74/0.74, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2846, allocations: 77.93 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002538/0.2872, allocations: 1.659 MB / 0.5689 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2888, allocations: 1.512 MB / 0.5704 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.2889, allocations: 1.75 kB / 0.5704 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.2891, allocations: 37.05 kB / 0.5704 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.2894, allocations: 66.36 kB / 0.5705 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.2896, allocations: 115.3 kB / 0.5706 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.2898, allocations: 127.9 kB / 0.5707 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.2898, allocations: 8.266 kB / 0.5707 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2899, allocations: 57.61 kB / 0.5708 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.2901, allocations: 58.2 kB / 0.5708 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.2901, allocations: 6.219 kB / 0.5708 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2903, allocations: 58.78 kB / 0.5709 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.2903, allocations: 27.56 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.2904, allocations: 45.16 kB / 0.571 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.2906, allocations: 145.7 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2906, allocations: 0.9375 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2906, allocations: 2.031 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.2906, allocations: 0.6562 kB / 0.5711 GB, free: 30.11 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.0005056/0.2911, allocations: 448.2 kB / 0.5715 GB, free: 29.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.2912, allocations: 11.19 kB / 0.5715 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.2912, allocations: 38.61 kB / 0.5716 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.2913, allocations: 13.47 kB / 0.5716 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2914, allocations: 220.6 kB / 0.5718 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2915, allocations: 1.438 kB / 0.5718 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.2915, allocations: 11.91 kB / 0.5718 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.2917, allocations: 102.1 kB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2917, allocations: 1.031 kB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2917, allocations: 0.875 kB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2918, allocations: 1.5 kB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.2919, allocations: 52.7 kB / 0.572 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.2921, allocations: 208.6 kB / 0.5722 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.2924, allocations: 116.9 kB / 0.5723 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2925, allocations: 49.59 kB / 0.5723 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2925, allocations: 2.672 kB / 0.5723 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.2927, allocations: 115.3 kB / 0.5724 GB, free: 28.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2927, allocations: 1.312 kB / 0.5724 GB, free: 28.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000458/0.2932, allocations: 165.4 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2932, allocations: 131.8 kB / 0.5727 GB, free: 28.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2934, allocations: 173.6 kB / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2934, allocations: 29.64 kB / 0.5729 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.2934, allocations: 104.8 kB / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.2935, allocations: 27.7 kB / 0.573 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.2935, allocations: 22.52 kB / 0.5731 GB, free: 28.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.2936, allocations: 328.1 kB / 0.5734 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2937, allocations: 27.64 kB / 0.5734 GB, free: 28.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2938, allocations: 71.05 kB / 0.5735 GB, free: 27.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.294, allocations: 94.56 kB / 0.5736 GB, free: 27.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.294, allocations: 5.25 kB / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002867/0.2943, allocations: 132.3 kB / 0.5737 GB, free: 27.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2943, allocations: 4.469 kB / 0.5737 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2943, allocations: 6.062 kB / 0.5737 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2944, allocations: 1.875 kB / 0.5737 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2945, allocations: 24.55 kB / 0.5737 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2945, allocations: 8.062 kB / 0.5737 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.2946, allocations: 11.39 kB / 0.5737 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2946, allocations: 4.453 kB / 0.5738 GB, free: 27.84 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.095e-05/0.2947, allocations: 125.2 kB / 0.5739 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2947, allocations: 15.38 kB / 0.5739 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.2948, allocations: 25.47 kB / 0.5739 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2948, allocations: 1.5 kB / 0.5739 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2948, allocations: 2.031 kB / 0.5739 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2948, allocations: 1.188 kB / 0.5739 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2949, allocations: 205.4 kB / 0.5741 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2949, allocations: 1.688 kB / 0.5741 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.295, allocations: 16 kB / 0.5741 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.295, allocations: 1.219 kB / 0.5741 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.295, allocations: 3.578 kB / 0.5741 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.295, allocations: 5.469 kB / 0.5741 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.295, allocations: 0.6094 kB / 0.5741 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.2954, allocations: 169 kB / 0.5743 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.2954, allocations: 89.53 kB / 0.5744 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2954, allocations: 4.234 kB / 0.5744 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.2955, allocations: 8.328 kB / 0.5744 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.2956, allocations: 11.23 kB / 0.5744 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2956, allocations: 4.984 kB / 0.5744 GB, free: 27.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.434e-05/0.2957, allocations: 139.8 kB / 0.5745 GB, free: 27.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2957, allocations: 2.594 kB / 0.5745 GB, free: 27.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.2959, allocations: 31.19 kB / 0.5746 GB, free: 27.15 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.001274/0.2972, allocations: 1.038 MB / 0.5756 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.2975, allocations: 95.39 kB / 0.5757 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2975, allocations: 0 / 0.5757 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.2977, allocations: 39.31 kB / 0.5757 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2979, allocations: 35.31 kB / 0.5758 GB, free: 26.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.2996, allocations: 1.708 MB / 0.5774 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2997, allocations: 0.702 MB / 0.5781 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.732e-05/0.2998, allocations: 22.83 kB / 0.5781 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.2999, allocations: 45.47 kB / 0.5782 GB, free: 24.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2999, allocations: 0 / 0.5782 GB, free: 24.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1704/0.4703, allocations: 3.738 MB / 0.5818 GB, free: 23.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.633, allocations: 24.59 kB / 0.5818 GB, free: 23.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)