Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.613/2.613, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 169.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 90.64 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005035, allocations: 14.95 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002092/0.2086, allocations: 1.36 MB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2107, allocations: 1.321 MB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.2108, allocations: 0 / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.2111, allocations: 35.83 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.2114, allocations: 55.81 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.2117, allocations: 81.52 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.2119, allocations: 79.83 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.654e-05/0.212, allocations: 5.125 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.2121, allocations: 51.77 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2123, allocations: 39.83 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2123, allocations: 4 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.2125, allocations: 43.92 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.2125, allocations: 19.91 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.2126, allocations: 41.64 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2128, allocations: 108 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2128, allocations: 4 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2128, allocations: 3.938 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2129, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 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.0006181/0.2135, allocations: 430.8 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2135, allocations: 12.02 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.2136, allocations: 15.86 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2139, allocations: 214.8 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.2139, allocations: 3.984 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2139, allocations: 4 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.2142, allocations: 105 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2143, allocations: 0 / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2143, allocations: 7.984 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2143, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.2146, allocations: 59.91 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.2148, allocations: 211.4 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.2152, allocations: 123.8 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.2152, allocations: 0 / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.2156, allocations: 114 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.2156, allocations: 0 / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0007305/0.2163, allocations: 177.4 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.2164, allocations: 128.5 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.2166, allocations: 182.8 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2166, allocations: 29.64 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.2167, allocations: 108.4 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.2167, allocations: 15.81 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-06/0.2167, allocations: 4 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.2168, allocations: 322.8 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.217, allocations: 43.97 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.2172, allocations: 72.27 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.2174, allocations: 40.17 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2174, allocations: 4 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004375/0.2179, allocations: 137.4 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2179, allocations: 7.984 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2179, allocations: 4 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2179, allocations: 0 / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.2181, allocations: 28.02 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2182, allocations: 8 kB / 0.9839 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2183, allocations: 12.12 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2183, allocations: 4 kB / 0.9839 GB, free: 22.22 MB / 0.6198 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.2184, allocations: 136 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.2185, allocations: 11.81 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.2185, allocations: 25.38 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2186, allocations: 0 / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2186, allocations: 4 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2186, allocations: 4 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2188, allocations: 201.5 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2188, allocations: 4 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.2189, allocations: 15.98 kB / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2189, allocations: 0 / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.219, allocations: 7.938 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.219, allocations: 0 / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.219, allocations: 0 / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.2194, allocations: 202 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.2195, allocations: 93 kB / 0.9845 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.2196, allocations: 4 kB / 0.9845 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2197, allocations: 11.98 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.2198, allocations: 11.95 kB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.2198, allocations: 3.984 kB / 0.9846 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001261/0.2199, allocations: 144.1 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2199, allocations: 0 / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000337/0.2203, allocations: 31.98 kB / 0.9847 GB, free: 21.22 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.2215, allocations: 453.6 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.222, allocations: 95.89 kB / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.222, allocations: 0 / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.2222, allocations: 47.91 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2225, allocations: 25.23 kB / 0.9853 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.2231, allocations: 263.4 kB / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.2233, allocations: 0.7121 MB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2234, allocations: 20.86 kB / 0.9863 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.2235, allocations: 23.42 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of SimCode: time 7.22e-07/0.2235, allocations: 0 / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.006007/0.2295, allocations: 1.858 MB / 0.9881 GB, free: 17.87 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)