Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.538/1.538, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001271/0.001271, allocations: 188 kB / 376.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 0.6354 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 101.5 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001099, allocations: 51.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2269, allocations: 114.5 MB / 0.9822 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003484/0.2304, allocations: 1.736 MB / 0.9839 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2325, allocations: 1.418 MB / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.2326, allocations: 0 / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.2329, allocations: 31.84 kB / 0.9853 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.2332, allocations: 55.77 kB / 0.9854 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.2335, allocations: 83.83 kB / 0.9855 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.2337, allocations: 123.6 kB / 0.9856 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.2338, allocations: 5.125 kB / 0.9856 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.234, allocations: 51.77 kB / 0.9856 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.2359, allocations: 59.69 kB / 0.9857 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.236, allocations: 0 / 0.9857 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2361, allocations: 55.98 kB / 0.9857 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.2362, allocations: 27.84 kB / 0.9858 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.2363, allocations: 35.73 kB / 0.9858 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.2365, allocations: 143.9 kB / 0.9859 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2366, allocations: 7.984 kB / 0.9859 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2366, allocations: 0 / 0.9859 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.2366, allocations: 0 / 0.9859 GB, free: 6.582 MB / 0.7136 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.0006122/0.2372, allocations: 438.8 kB / 0.9864 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2372, allocations: 8.031 kB / 0.9864 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.2373, allocations: 20.75 kB / 0.9864 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.2375, allocations: 216.1 kB / 0.9866 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2376, allocations: 384 / 0.9866 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2376, allocations: 12.12 kB / 0.9866 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2378, allocations: 101 kB / 0.9867 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2379, allocations: 3.984 kB / 0.9867 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.2379, allocations: 0 / 0.9867 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2379, allocations: 0 / 0.9867 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.2381, allocations: 55.89 kB / 0.9868 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.2383, allocations: 211.4 kB / 0.987 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.2386, allocations: 119.8 kB / 0.9871 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2388, allocations: 58.55 kB / 0.9871 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.2388, allocations: 0 / 0.9871 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.2391, allocations: 117.9 kB / 0.9872 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2391, allocations: 0 / 0.9872 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004912/0.2396, allocations: 161.4 kB / 0.9874 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.2397, allocations: 132.5 kB / 0.9875 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.2399, allocations: 174.6 kB / 0.9877 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2399, allocations: 33.7 kB / 0.9877 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.24, allocations: 100.1 kB / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.24, allocations: 23.66 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.2401, allocations: 29.7 kB / 0.9879 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2402, allocations: 322.8 kB / 0.9882 GB, free: 4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2403, allocations: 27.98 kB / 0.9882 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.2404, allocations: 76.14 kB / 0.9883 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.2406, allocations: 95.33 kB / 0.9884 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2406, allocations: 4 kB / 0.9884 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002751/0.2409, allocations: 133.4 kB / 0.9885 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.241, allocations: 8 kB / 0.9885 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.241, allocations: 0 / 0.9885 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.241, allocations: 0 / 0.9885 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2411, allocations: 19.98 kB / 0.9885 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2411, allocations: 7.938 kB / 0.9885 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.2412, allocations: 16.02 kB / 0.9886 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2412, allocations: 4 kB / 0.9886 GB, free: 3.582 MB / 0.7136 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 9.764e-05/0.2413, allocations: 136 kB / 0.9887 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.2414, allocations: 15.81 kB / 0.9887 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.2414, allocations: 13.41 kB / 0.9887 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2414, allocations: 0 / 0.9887 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2414, allocations: 0 / 0.9887 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2414, allocations: 8.297 kB / 0.9887 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2416, allocations: 201.5 kB / 0.9889 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2416, allocations: 4 kB / 0.9889 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.2417, allocations: 16 kB / 0.9889 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2417, allocations: 4 kB / 0.9889 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2417, allocations: 3.984 kB / 0.9889 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2417, allocations: 7.938 kB / 0.9889 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2417, allocations: 0 / 0.9889 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.2424, allocations: 0.7698 MB / 0.9897 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.2424, allocations: 85.02 kB / 0.9898 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.2425, allocations: 4 kB / 0.9898 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.2426, allocations: 7.984 kB / 0.9898 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.2426, allocations: 7.938 kB / 0.9898 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2426, allocations: 15.98 kB / 0.9898 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001072/0.2428, allocations: 131.2 kB / 0.9899 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.703e-06/0.2428, allocations: 0 / 0.9899 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003411/0.2431, allocations: 35.92 kB / 0.99 GB, free: 1.984 MB / 0.7136 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.000962/0.2441, allocations: 449.6 kB / 0.9904 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.2444, allocations: 83.89 kB / 0.9905 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2444, allocations: 0 / 0.9905 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2445, allocations: 43.91 kB / 0.9905 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2448, allocations: 31.91 kB / 0.9906 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.2454, allocations: 385.8 kB / 0.9909 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2456, allocations: 0.7121 MB / 0.9916 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.2457, allocations: 20.86 kB / 0.9916 GB, free: 332 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.2457, allocations: 23.42 kB / 0.9917 GB, free: 308 kB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.2458, allocations: 0 / 0.9917 GB, free: 308 kB / 0.7136 GB Notification: Performance of Templates: time 0.004306/0.2501, allocations: 1.96 MB / 0.9936 GB, free: 14.36 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)