Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002709/0.002709, allocations: 216.9 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7714 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 64.98 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 169.9 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00333/0.3183, allocations: 1.736 MB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.321, allocations: 1.802 MB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.3211, allocations: 4 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.3214, allocations: 39.77 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.3217, allocations: 103.5 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.322, allocations: 99.58 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3222, allocations: 139.6 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.3222, allocations: 9.625 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.3224, allocations: 71.7 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3226, allocations: 59.69 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3226, allocations: 8 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.3228, allocations: 111.9 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.3229, allocations: 27.84 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.3229, allocations: 51.67 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.3233, allocations: 194.8 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3233, allocations: 0 / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3233, allocations: 4 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3233, allocations: 3.938 kB / 1.288 GB, free: 7.25 MB / 0.9825 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.0006918/0.324, allocations: 402.8 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.324, allocations: 8.031 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.815e-05/0.324, allocations: 8.188 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.3241, allocations: 34.75 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3242, allocations: 24.83 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.3246, allocations: 175 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3246, allocations: 8.125 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.3246, allocations: 4 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.3249, allocations: 93.09 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3249, allocations: 0 / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3249, allocations: 3.984 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3249, allocations: 8 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.3251, allocations: 47.91 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.3253, allocations: 190.5 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3256, allocations: 119.7 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.3257, allocations: 42.62 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3258, allocations: 11.92 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.326, allocations: 113.9 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.326, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005152/0.3265, allocations: 161.4 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.3266, allocations: 136.8 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.3269, allocations: 187.9 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3269, allocations: 29.7 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.3269, allocations: 104.1 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.327, allocations: 23.84 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.327, allocations: 21.72 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3272, allocations: 326.8 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3273, allocations: 35.97 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3274, allocations: 64.27 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.3277, allocations: 95.31 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3277, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003075/0.328, allocations: 137.4 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.328, allocations: 8 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.328, allocations: 320 / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.328, allocations: 0 / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3281, allocations: 32.08 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3281, allocations: 4 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-05/0.3282, allocations: 15.88 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3282, allocations: 4 kB / 1.291 GB, free: 4.332 MB / 0.9825 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.0001165/0.3283, allocations: 134.6 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.3284, allocations: 15.91 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.3286, allocations: 111 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3286, allocations: 4 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3286, allocations: 4 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3286, allocations: 0 / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3288, allocations: 188.6 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3288, allocations: 0 / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.3289, allocations: 11.98 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3289, allocations: 4 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3289, allocations: 0 / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3289, allocations: 7.938 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3289, allocations: 0 / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.3293, allocations: 170.8 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.3293, allocations: 11.91 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.3293, allocations: 11.92 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.3294, allocations: 4 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3295, allocations: 15.98 kB / 1.292 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3295, allocations: 4 kB / 1.292 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001468/0.3296, allocations: 149.1 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3296, allocations: 0 / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002701/0.3299, allocations: 47.86 kB / 1.292 GB, free: 3.363 MB / 0.9825 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.002323/0.3322, allocations: 1.099 MB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.3325, allocations: 83.88 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3325, allocations: 0 / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3327, allocations: 48.16 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.333, allocations: 32.7 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3353, allocations: 1.745 MB / 1.295 GB, free: 420 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.3357, allocations: 0.708 MB / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.059e-05/0.3358, allocations: 20.62 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.3359, allocations: 43.42 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3359, allocations: 0 / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.3624, allocations: 4.573 MB / 1.3 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.32, allocations: 0 / 1.3 GB, free: 11.11 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.478220278047957] Failed to read output from testmodel.py, exit status != 0: 13.12676041998202 12.583943983 12.255558298 Calling exit ...