Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 287.3 kB / 303 MB, free: 3.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 180.9 MB / 0.5261 GB, free: 2.758 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 99.84 kB / 0.7248 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5068, allocations: 94.15 MB / 0.8167 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002731/0.5095, allocations: 1.706 MB / 0.8184 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.5114, allocations: 1.507 MB / 0.8198 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.5115, allocations: 0.7812 kB / 0.8198 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.5118, allocations: 43.89 kB / 0.8199 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.5121, allocations: 65.11 kB / 0.8199 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.5124, allocations: 125.8 kB / 0.8201 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.5126, allocations: 127.9 kB / 0.8202 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.5127, allocations: 9.172 kB / 0.8202 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.5128, allocations: 54.8 kB / 0.8202 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.513, allocations: 59.39 kB / 0.8203 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.513, allocations: 5.5 kB / 0.8203 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.5131, allocations: 61.89 kB / 0.8204 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.5132, allocations: 29.17 kB / 0.8204 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.5133, allocations: 37.91 kB / 0.8204 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.5135, allocations: 150.5 kB / 0.8206 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5135, allocations: 0 / 0.8206 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5135, allocations: 0 / 0.8206 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5135, allocations: 0 / 0.8206 GB, free: 4.535 MB / 0.5762 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.00059/0.5141, allocations: 447.5 kB / 0.821 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5141, allocations: 9.781 kB / 0.821 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.5142, allocations: 35.75 kB / 0.821 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.5142, allocations: 13.64 kB / 0.8211 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.5145, allocations: 227.3 kB / 0.8213 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.5145, allocations: 6.406 kB / 0.8213 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.5145, allocations: 5.969 kB / 0.8213 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.5147, allocations: 101.7 kB / 0.8214 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.5147, allocations: 4 kB / 0.8214 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5147, allocations: 1.125 kB / 0.8214 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5147, allocations: 1.25 kB / 0.8214 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.5149, allocations: 50.06 kB / 0.8214 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.5151, allocations: 213.5 kB / 0.8216 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.5153, allocations: 113.8 kB / 0.8218 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.5154, allocations: 43.16 kB / 0.8218 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.5155, allocations: 2.312 kB / 0.8218 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.5157, allocations: 118.2 kB / 0.8219 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5157, allocations: 0 / 0.8219 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004221/0.5161, allocations: 161.9 kB / 0.8221 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5161, allocations: 130.9 kB / 0.8222 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.5163, allocations: 178.2 kB / 0.8224 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.5163, allocations: 27.42 kB / 0.8224 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.5163, allocations: 103.9 kB / 0.8225 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.5163, allocations: 26.25 kB / 0.8225 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.5164, allocations: 23.61 kB / 0.8225 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.5164, allocations: 329.8 kB / 0.8228 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.5165, allocations: 27.08 kB / 0.8229 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.5167, allocations: 74.86 kB / 0.8229 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5168, allocations: 94.88 kB / 0.823 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5168, allocations: 3.938 kB / 0.823 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002447/0.5171, allocations: 134.6 kB / 0.8232 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5171, allocations: 8.125 kB / 0.8232 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5171, allocations: 0 / 0.8232 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5171, allocations: 4.891 kB / 0.8232 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.5172, allocations: 19.45 kB / 0.8232 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5172, allocations: 7.219 kB / 0.8232 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.5173, allocations: 15.3 kB / 0.8232 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.5173, allocations: 3.719 kB / 0.8232 GB, free: 2.234 MB / 0.5762 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 7.017e-05/0.5174, allocations: 128 kB / 0.8233 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.5174, allocations: 17.91 kB / 0.8234 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.5174, allocations: 16.62 kB / 0.8234 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5174, allocations: 10.56 kB / 0.8234 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5175, allocations: 0.5625 kB / 0.8234 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.5175, allocations: 3.328 kB / 0.8234 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.5176, allocations: 199.5 kB / 0.8236 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5176, allocations: 2.625 kB / 0.8236 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/0.5177, allocations: 11.42 kB / 0.8236 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5177, allocations: 1.312 kB / 0.8236 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.5177, allocations: 6.312 kB / 0.8236 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5177, allocations: 3.938 kB / 0.8236 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5177, allocations: 0.7031 kB / 0.8236 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.518, allocations: 173.6 kB / 0.8238 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.518, allocations: 87.11 kB / 0.8239 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.518, allocations: 3.422 kB / 0.8239 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.5181, allocations: 9.188 kB / 0.8239 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.5181, allocations: 16.42 kB / 0.8239 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.5182, allocations: 5.406 kB / 0.8239 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.373e-05/0.5183, allocations: 131.6 kB / 0.824 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5183, allocations: 0 / 0.824 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002386/0.5185, allocations: 30.23 kB / 0.824 GB, free: 1.543 MB / 0.5762 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.001813/0.5203, allocations: 1.055 MB / 0.8251 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.5206, allocations: 78.14 kB / 0.8251 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5206, allocations: 2.875 kB / 0.8251 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.5207, allocations: 41.36 kB / 0.8252 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5209, allocations: 46.02 kB / 0.8252 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.5227, allocations: 1.705 MB / 0.8269 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.523, allocations: 0.7012 MB / 0.8276 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.73e-05/0.5231, allocations: 29.84 kB / 0.8276 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.5231, allocations: 37.72 kB / 0.8276 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.5231, allocations: 0 / 0.8276 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.5503, allocations: 3.904 MB / 0.8315 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.639, allocations: 7.031 kB / 0.8315 GB, free: 13.75 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.525276634842157] Failed to read output from testmodel.py, exit status != 0: 8.768572936300188 8.788637643 8.270999822 Calling exit ...