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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00757/0.00757, allocations: 101 kB / 15.73 MB, free: 6.055 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.001884/0.001884, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 288.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9967/0.9967, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 99.83 kB / 0.681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.407, allocations: 86.99 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003028/0.41, allocations: 1.661 MB / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.4122, allocations: 1.518 MB / 0.769 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.4122, allocations: 4 kB / 0.769 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.4125, allocations: 35.77 kB / 0.7691 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.4127, allocations: 67.62 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.413, allocations: 122.8 kB / 0.7692 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.4132, allocations: 119.6 kB / 0.7693 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.4133, allocations: 17.11 kB / 0.7694 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4134, allocations: 55.7 kB / 0.7694 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.4136, allocations: 51.77 kB / 0.7695 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4136, allocations: 8 kB / 0.7695 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.4138, allocations: 59.91 kB / 0.7695 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.4138, allocations: 27.91 kB / 0.7696 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.4139, allocations: 39.73 kB / 0.7696 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.4142, allocations: 144.6 kB / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.4142, allocations: 3.938 kB / 0.7697 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4142, allocations: 0 / 0.7697 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.4142, allocations: 4 kB / 0.7697 GB, free: 15.95 MB / 0.545 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.0006584/0.4149, allocations: 446.6 kB / 0.7702 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4149, allocations: 8.031 kB / 0.7702 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.415, allocations: 34.69 kB / 0.7702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.415, allocations: 16.88 kB / 0.7702 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.4153, allocations: 220 kB / 0.7704 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4153, allocations: 4.375 kB / 0.7704 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.4154, allocations: 7.938 kB / 0.7704 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.4156, allocations: 105 kB / 0.7705 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4156, allocations: 0 / 0.7705 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.4156, allocations: 4 kB / 0.7706 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4157, allocations: 7.938 kB / 0.7706 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.4158, allocations: 47.95 kB / 0.7706 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.4161, allocations: 207.4 kB / 0.7708 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.4164, allocations: 119.7 kB / 0.7709 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.4165, allocations: 54.55 kB / 0.771 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4165, allocations: 11.98 kB / 0.771 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.4168, allocations: 105.9 kB / 0.7711 GB, free: 14.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.4168, allocations: 0 / 0.7711 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004846/0.4173, allocations: 169.3 kB / 0.7712 GB, free: 14.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.4174, allocations: 128.5 kB / 0.7714 GB, free: 14.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.4176, allocations: 177.1 kB / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4176, allocations: 29.95 kB / 0.7716 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.4177, allocations: 108.1 kB / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.4177, allocations: 23.8 kB / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.4178, allocations: 21.7 kB / 0.7717 GB, free: 13.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4179, allocations: 326.8 kB / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.418, allocations: 31.98 kB / 0.7721 GB, free: 13.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.4182, allocations: 68.2 kB / 0.7721 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.4184, allocations: 91.39 kB / 0.7722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4184, allocations: 7.875 kB / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003234/0.4188, allocations: 133.8 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4188, allocations: 4 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4188, allocations: 4.062 kB / 0.7723 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4188, allocations: 4 kB / 0.7724 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.419, allocations: 27.97 kB / 0.7724 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.419, allocations: 0 / 0.7724 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.4191, allocations: 7.984 kB / 0.7724 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4191, allocations: 4.094 kB / 0.7724 GB, free: 12.91 MB / 0.545 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.0001128/0.4192, allocations: 137.7 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4192, allocations: 15.91 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.4193, allocations: 13.41 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4193, allocations: 4 kB / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.4193, allocations: 3.984 kB / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4193, allocations: 0 / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.4195, allocations: 205.5 kB / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4195, allocations: 0 / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.4196, allocations: 19.94 kB / 0.7728 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4196, allocations: 3.984 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4196, allocations: 4 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4196, allocations: 0 / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4197, allocations: 0 / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.42, allocations: 174.6 kB / 0.7729 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.4201, allocations: 89 kB / 0.773 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4201, allocations: 4 kB / 0.773 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.4202, allocations: 12.17 kB / 0.773 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.4202, allocations: 7.984 kB / 0.7731 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.4203, allocations: 7.938 kB / 0.7731 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001259/0.4204, allocations: 132.8 kB / 0.7732 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4204, allocations: 0 / 0.7732 GB, free: 11.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003242/0.4207, allocations: 35.98 kB / 0.7732 GB, free: 11.95 MB / 0.545 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.002084/0.4228, allocations: 1.05 MB / 0.7742 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.4231, allocations: 83.88 kB / 0.7743 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4231, allocations: 0 / 0.7743 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4233, allocations: 44.11 kB / 0.7744 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.4236, allocations: 48.69 kB / 0.7744 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.4257, allocations: 1.702 MB / 0.7761 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.4261, allocations: 0.7041 MB / 0.7768 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.288e-05/0.4262, allocations: 20.48 kB / 0.7768 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.4262, allocations: 35.42 kB / 0.7768 GB, free: 8.281 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4262, allocations: 0 / 0.7768 GB, free: 8.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3974/0.8237, allocations: 3.857 MB / 0.7806 GB, free: 4.516 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.903/10.73, allocations: 6.609 kB / 0.7806 GB, free: 4.512 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)