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.001717/0.001717, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002117/0.002117, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.798/2.798, allocations: 476.8 MB / 0.7715 GB, free: 3.867 MB / 0.6231 GB " [Timeout remaining time 177] 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.002009/0.002009, allocations: 63.28 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003601/0.3187, allocations: 1.688 MB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.3216, allocations: 1.707 MB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3218, allocations: 7.938 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.3221, allocations: 39.77 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.3225, allocations: 107.5 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.3228, allocations: 99.64 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.323, allocations: 143.5 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.3231, allocations: 5.641 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.3233, allocations: 79.64 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.3236, allocations: 51.77 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.3236, allocations: 8 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.3238, allocations: 111.9 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.3239, allocations: 27.84 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.324, allocations: 43.73 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.3244, allocations: 200.7 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3244, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3244, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3244, allocations: 0 / 1.288 GB, free: 6.352 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.0007402/0.3251, allocations: 409.1 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3252, allocations: 8.031 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.08e-05/0.3252, allocations: 192 / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.3252, allocations: 34.75 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3254, allocations: 24.83 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.3258, allocations: 163.1 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3258, allocations: 4.125 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3258, allocations: 4 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.3261, allocations: 130.7 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3261, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3261, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3261, allocations: 4 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3263, allocations: 51.95 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.3266, allocations: 182.5 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.3269, allocations: 123.8 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.327, allocations: 54.55 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.327, allocations: 4 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.3273, allocations: 109.9 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3273, allocations: 0 / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.3278, allocations: 173.7 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.3279, allocations: 136.5 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3282, allocations: 199.8 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3282, allocations: 29.7 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.3283, allocations: 108.1 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.3283, allocations: 19.86 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.3284, allocations: 25.7 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3285, allocations: 326.8 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3286, allocations: 31.97 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3288, allocations: 101.9 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.329, allocations: 107.3 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.329, allocations: 0 / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003333/0.3294, allocations: 129.6 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3294, allocations: 12 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3294, allocations: 3.984 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3294, allocations: 0 / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3295, allocations: 23.92 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.3296, allocations: 7.938 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.397e-05/0.3296, allocations: 15.89 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3297, allocations: 4 kB / 1.291 GB, free: 3.34 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.000123/0.3298, allocations: 131.7 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.3298, allocations: 15.91 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.3301, allocations: 131 kB / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3301, allocations: 4 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3301, allocations: 0 / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3301, allocations: 0 / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3303, allocations: 176.9 kB / 1.291 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3303, allocations: 4 kB / 1.291 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.3304, allocations: 15.98 kB / 1.291 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3304, allocations: 0 / 1.291 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3304, allocations: 4 kB / 1.291 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3304, allocations: 0 / 1.291 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3304, allocations: 4 kB / 1.291 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3308, allocations: 190.6 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.3308, allocations: 11.91 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3309, allocations: 8 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.3309, allocations: 11.97 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.331, allocations: 7.984 kB / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.331, allocations: 8 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000158/0.3312, allocations: 153.1 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3312, allocations: 4.281 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003031/0.3315, allocations: 51.86 kB / 1.292 GB, free: 2.336 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 (10): * Single equations (assignments): 8 * 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.002546/0.334, allocations: 1.156 MB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.3343, allocations: 83.89 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3343, allocations: 0 / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3345, allocations: 56.08 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3348, allocations: 39.48 kB / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3372, allocations: 1.772 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3373, allocations: 101 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.721e-05/0.3374, allocations: 20.7 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3375, allocations: 47.41 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of SimCode: time 4.4e-07/0.3375, allocations: 0 / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.3735, allocations: 4.799 MB / 1.3 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.12, allocations: 9.562 kB / 1.3 GB, free: 10.41 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.951748881023377] Failed to read output from testmodel.py, exit status != 0: 12.89834966394119 12.363260353 12.034371445 Calling exit ...