Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.996/1.996, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 187.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009925/0.0009924, allocations: 103.5 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 53.52 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2161, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002643/0.2188, allocations: 1.739 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2204, allocations: 1.472 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2206, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.2209, allocations: 35.83 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2211, allocations: 51.78 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.2214, allocations: 103.6 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.2216, allocations: 119.6 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.2216, allocations: 13.06 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2217, allocations: 55.72 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.2237, allocations: 47.77 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.2238, allocations: 4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.2239, allocations: 63.95 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.224, allocations: 19.86 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.224, allocations: 39.73 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2242, allocations: 141.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2243, allocations: 7.938 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.51e-07/0.2243, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2243, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 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.0005278/0.2248, allocations: 438.9 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2248, allocations: 15.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.2249, allocations: 12.75 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.2251, allocations: 225 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.2251, allocations: 8.375 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2251, allocations: 8.125 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2253, allocations: 93.08 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2253, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2254, allocations: 8 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2254, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.2255, allocations: 59.83 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.2257, allocations: 199.5 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.2259, allocations: 119.8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.226, allocations: 54.56 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.226, allocations: 7.984 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.2263, allocations: 113.9 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2263, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003918/0.2267, allocations: 161.4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2267, allocations: 132.5 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2269, allocations: 179.1 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2269, allocations: 37.7 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.2269, allocations: 100.1 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.227, allocations: 23.66 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.227, allocations: 29.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.227, allocations: 322.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.2271, allocations: 31.92 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.2272, allocations: 64.27 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2274, allocations: 95.33 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2274, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002362/0.2277, allocations: 141.4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2277, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2277, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2277, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2278, allocations: 23.98 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2278, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.2279, allocations: 15.98 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2279, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 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 6.955e-05/0.228, allocations: 130.4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.228, allocations: 15.84 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.2281, allocations: 13.41 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2281, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2281, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2281, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.2282, allocations: 213.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2282, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.2283, allocations: 20.3 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2283, allocations: 3.938 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2283, allocations: 11.98 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2283, allocations: 7.984 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2283, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.2288, allocations: 0.7581 MB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.2288, allocations: 89 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.2289, allocations: 8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.2289, allocations: 4 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.229, allocations: 11.92 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.229, allocations: 15.92 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.159e-05/0.2291, allocations: 128.2 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2291, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003165/0.2294, allocations: 35.98 kB / 1.226 GB, free: 108.7 MB / 0.823 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.0008312/0.2302, allocations: 453.3 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2305, allocations: 79.89 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2305, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.2306, allocations: 47.91 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.2309, allocations: 25.5 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.2313, allocations: 397.5 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2314, allocations: 0.7043 MB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.371e-05/0.2315, allocations: 20.86 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.2315, allocations: 19.44 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/0.2316, allocations: 0 / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of Templates: time 0.003818/0.2354, allocations: 1.976 MB / 1.23 GB, free: 105.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)