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/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9768/0.9768, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 180.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 84.06 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001814, allocations: 287.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.445e-05/1.449e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3752, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5101, allocations: 112.2 MB / 0.8669 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5104, allocations: 88.77 kB / 0.867 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.5232, allocations: 4.532 MB / 0.8714 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5232, allocations: 4 kB / 0.8714 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.5232, allocations: 0 / 0.8714 GB, free: 11.07 MB / 0.5417 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.0005/0.5237, allocations: 426.1 kB / 0.8718 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5238, allocations: 8.031 kB / 0.8718 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.5238, allocations: 15.81 kB / 0.8718 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.5241, allocations: 215.3 kB / 0.8721 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5241, allocations: 0 / 0.8721 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.5242, allocations: 4 kB / 0.8721 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00011/0.5243, allocations: 35.91 kB / 0.8721 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.5244, allocations: 93.05 kB / 0.8722 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5244, allocations: 0 / 0.8722 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5245, allocations: 3.938 kB / 0.8722 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5245, allocations: 0 / 0.8722 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.5247, allocations: 195.9 kB / 0.8724 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.5249, allocations: 103.7 kB / 0.8725 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.628e-05/0.525, allocations: 42.81 kB / 0.8725 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.525, allocations: 0 / 0.8725 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.5252, allocations: 101.9 kB / 0.8726 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.5252, allocations: 0 / 0.8726 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002711/0.5255, allocations: 113.5 kB / 0.8727 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.5256, allocations: 128.5 kB / 0.8728 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.5257, allocations: 161.5 kB / 0.873 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5258, allocations: 25.7 kB / 0.873 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.5258, allocations: 108.2 kB / 0.8731 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.5259, allocations: 27.64 kB / 0.8731 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.5259, allocations: 0 / 0.8731 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.526, allocations: 322.8 kB / 0.8735 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.526, allocations: 20 kB / 0.8735 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.5261, allocations: 56.28 kB / 0.8735 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/0.5262, allocations: 28.02 kB / 0.8736 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5262, allocations: 3.938 kB / 0.8736 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.5264, allocations: 109.4 kB / 0.8737 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5264, allocations: 9.234 kB / 0.8737 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5264, allocations: 0 / 0.8737 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5264, allocations: 4 kB / 0.8737 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.5265, allocations: 19.98 kB / 0.8737 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.5266, allocations: 4.094 kB / 0.8737 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.5266, allocations: 8 kB / 0.8737 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.5267, allocations: 7.984 kB / 0.8737 GB, free: 8.434 MB / 0.5417 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 () * 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 7.763e-05/0.5267, allocations: 117.4 kB / 0.8738 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.5268, allocations: 19.77 kB / 0.8738 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.527, allocations: 107.5 kB / 0.8739 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.527, allocations: 0 / 0.8739 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.527, allocations: 8 kB / 0.874 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.527, allocations: 3.938 kB / 0.874 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.5272, allocations: 182.1 kB / 0.8741 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5272, allocations: 0 / 0.8741 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.5273, allocations: 20 kB / 0.8742 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5273, allocations: 192 / 0.8742 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5273, allocations: 7.984 kB / 0.8742 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5273, allocations: 11.83 kB / 0.8742 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5273, allocations: 0 / 0.8742 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.5276, allocations: 174 kB / 0.8743 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.5276, allocations: 104.8 kB / 0.8744 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.5277, allocations: 128 / 0.8744 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.5278, allocations: 19.98 kB / 0.8745 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.5278, allocations: 7.984 kB / 0.8745 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5278, allocations: 8 kB / 0.8745 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000104/0.5279, allocations: 132.2 kB / 0.8746 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5279, allocations: 0 / 0.8746 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002622/0.5282, allocations: 39.94 kB / 0.8746 GB, free: 7.387 MB / 0.5417 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0008065/0.529, allocations: 387.5 kB / 0.875 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.5292, allocations: 63.91 kB / 0.8751 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.5292, allocations: 12.19 kB / 0.8751 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.5293, allocations: 35.92 kB / 0.8751 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5295, allocations: 25.41 kB / 0.8751 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.5298, allocations: 166.4 kB / 0.8753 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5301, allocations: 0.712 MB / 0.876 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.846e-05/0.5302, allocations: 18.28 kB / 0.876 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.5302, allocations: 23.42 kB / 0.876 GB, free: 6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5303, allocations: 0 / 0.876 GB, free: 6 MB / 0.5417 GB Notification: Performance of Templates: time 0.004301/0.5346, allocations: 1.89 MB / 0.8779 GB, free: 4.133 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)