Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7703/0.7703, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001015/0.001015, allocations: 175.9 kB / 182.2 MB, free: 9.477 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.388/1.388, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0008563/0.0008564, allocations: 86.5 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.001709/0.001709, allocations: 285.1 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.892e-05, allocations: 0 / 0.6765 GB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4021, allocations: 82.78 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.666/4.068, allocations: 1.69 GB / 2.448 GB, free: 60.76 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/4.069, allocations: 95.94 kB / 2.448 GB, free: 60.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.563/4.632, allocations: 90.42 MB / 2.536 GB, free: 231.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/4.632, allocations: 3.125 kB / 2.536 GB, free: 231.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001116/4.632, allocations: 40.91 kB / 2.536 GB, free: 231.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.002672/4.634, allocations: 1.66 MB / 2.538 GB, free: 230.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/4.634, allocations: 9.906 kB / 2.538 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/4.636, allocations: 379.6 kB / 2.538 GB, free: 230 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/4.638, allocations: 1.019 MB / 2.539 GB, free: 229.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/4.638, allocations: 44.12 kB / 2.539 GB, free: 229.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/4.638, allocations: 73.66 kB / 2.539 GB, free: 229.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002302/4.64, allocations: 1.869 MB / 2.541 GB, free: 229.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/4.642, allocations: 1.28 MB / 2.542 GB, free: 229.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/4.642, allocations: 3.75 kB / 2.542 GB, free: 229.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/4.642, allocations: 3.031 kB / 2.542 GB, free: 229.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/4.642, allocations: 34.89 kB / 2.542 GB, free: 229.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005741/4.648, allocations: 4.25 MB / 2.546 GB, free: 228.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/4.65, allocations: 1.267 MB / 2.548 GB, free: 228 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/4.65, allocations: 469.1 kB / 2.548 GB, free: 228 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/4.65, allocations: 54.73 kB / 2.548 GB, free: 228 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008985/4.651, allocations: 0.7137 MB / 2.549 GB, free: 227.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.256e-06/4.651, allocations: 0 / 2.549 GB, free: 227.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.002758/4.654, allocations: 1.242 MB / 2.55 GB, free: 227.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/4.654, allocations: 463.6 kB / 2.55 GB, free: 227.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/4.655, allocations: 0.9071 MB / 2.551 GB, free: 227.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/4.655, allocations: 33.17 kB / 2.551 GB, free: 227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/4.656, allocations: 0.6261 MB / 2.552 GB, free: 226.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/4.656, allocations: 426 kB / 2.552 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/4.656, allocations: 0 / 2.552 GB, free: 226.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/4.656, allocations: 350.9 kB / 2.553 GB, free: 226.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/4.657, allocations: 376 kB / 2.553 GB, free: 226.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/4.657, allocations: 0.5765 MB / 2.554 GB, free: 226 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/4.658, allocations: 481.7 kB / 2.554 GB, free: 226 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/4.658, allocations: 0 / 2.554 GB, free: 226 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002446/4.66, allocations: 1.257 MB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/4.66, allocations: 6.625 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/4.66, allocations: 3.047 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/4.661, allocations: 172.4 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/4.663, allocations: 272.4 kB / 2.556 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/4.665, allocations: 2.937 MB / 2.559 GB, free: 223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/4.666, allocations: 117.2 kB / 2.559 GB, free: 222.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/4.667, allocations: 60.14 kB / 2.559 GB, free: 222.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002351/4.667, allocations: 132.3 kB / 2.559 GB, free: 222.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/4.667, allocations: 144.4 kB / 2.559 GB, free: 222.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/4.671, allocations: 1.798 MB / 2.561 GB, free: 222.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/4.671, allocations: 16.97 kB / 2.561 GB, free: 222.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/4.671, allocations: 0 / 2.561 GB, free: 222.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/4.671, allocations: 17.08 kB / 2.561 GB, free: 222.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/4.672, allocations: 1.326 MB / 2.562 GB, free: 221.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/4.672, allocations: 0 / 2.562 GB, free: 221.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/4.673, allocations: 282.8 kB / 2.562 GB, free: 221.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009138/4.674, allocations: 162.6 kB / 2.563 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/4.674, allocations: 28.88 kB / 2.563 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/4.677, allocations: 2.993 MB / 2.566 GB, free: 218.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.677, allocations: 0 / 2.566 GB, free: 218.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/4.68, allocations: 1.477 MB / 2.567 GB, free: 218.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/4.68, allocations: 465.6 kB / 2.567 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/4.68, allocations: 10.73 kB / 2.567 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/4.681, allocations: 106.8 kB / 2.567 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/4.681, allocations: 112.8 kB / 2.568 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/4.682, allocations: 60.33 kB / 2.568 GB, free: 217.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000769/4.682, allocations: 0.7097 MB / 2.568 GB, free: 217.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/4.682, allocations: 0 / 2.568 GB, free: 217.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001306/4.684, allocations: 0.4945 MB / 2.569 GB, free: 217.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/4.685, allocations: 1.148 MB / 2.57 GB, free: 216.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001844/4.687, allocations: 1.271 MB / 2.571 GB, free: 216.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/4.687, allocations: 0 / 2.571 GB, free: 216.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/4.688, allocations: 0.8698 MB / 2.572 GB, free: 216 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/4.69, allocations: 432.3 kB / 2.572 GB, free: 215.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/4.696, allocations: 2.44 MB / 2.575 GB, free: 214.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/4.697, allocations: 1.326 MB / 2.576 GB, free: 213 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001667/4.698, allocations: 0.4963 MB / 2.577 GB, free: 212.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/4.699, allocations: 177.2 kB / 2.577 GB, free: 212.4 MB / 0.698 GB Notification: Performance of SimCode: time 9.91e-07/4.699, allocations: 0 / 2.577 GB, free: 212.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03683/4.736, allocations: 26.31 MB / 2.602 GB, free: 189.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)