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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7665/0.7665, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00096/0.00096, allocations: 182.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 426.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 89.44 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001793/0.001793, allocations: 271.6 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 19.98 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4168, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.525/4.941, allocations: 2.042 GB / 2.781 GB, free: 167.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/4.942, allocations: 87.95 kB / 2.781 GB, free: 167.7 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1959/5.138, allocations: 92.65 MB / 2.872 GB, free: 74.48 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.226e-06/5.138, allocations: 0 / 2.872 GB, free: 74.48 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002323/5.138, allocations: 47.94 kB / 2.872 GB, free: 74.43 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.005054/5.143, allocations: 1.823 MB / 2.873 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/5.143, allocations: 12.03 kB / 2.873 GB, free: 72.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/5.145, allocations: 374.3 kB / 2.874 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/5.148, allocations: 1.058 MB / 2.875 GB, free: 71.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/5.148, allocations: 99 kB / 2.875 GB, free: 70.95 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/5.148, allocations: 132.3 kB / 2.875 GB, free: 70.82 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/5.151, allocations: 1.508 MB / 2.877 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/5.151, allocations: 192 / 2.877 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/5.151, allocations: 63.94 kB / 2.877 GB, free: 69.16 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/5.151, allocations: 35.94 kB / 2.877 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/5.154, allocations: 2.051 MB / 2.879 GB, free: 67.07 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00606/5.16, allocations: 4.476 MB / 2.883 GB, free: 62.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/5.162, allocations: 1.439 MB / 2.884 GB, free: 61.05 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/5.163, allocations: 0.5476 MB / 2.885 GB, free: 60.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/5.163, allocations: 61.17 kB / 2.885 GB, free: 60.43 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/5.164, allocations: 0.8046 MB / 2.886 GB, free: 59.61 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=136): time 3.437e-06/5.164, allocations: 0 / 2.886 GB, free: 59.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=136): time 0.005097/5.169, allocations: 2.146 MB / 2.888 GB, free: 57.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/5.169, allocations: 462.1 kB / 2.888 GB, free: 56.86 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/5.171, allocations: 1.18 MB / 2.89 GB, free: 55.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/5.171, allocations: 53.7 kB / 2.89 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/5.172, allocations: 0.6069 MB / 2.89 GB, free: 54.99 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/5.172, allocations: 445.5 kB / 2.891 GB, free: 54.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/5.172, allocations: 24 kB / 2.891 GB, free: 54.53 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/5.172, allocations: 353.9 kB / 2.891 GB, free: 54.18 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/5.173, allocations: 446.3 kB / 2.891 GB, free: 53.74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/5.174, allocations: 0.6696 MB / 2.892 GB, free: 53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/5.176, allocations: 1.066 MB / 2.893 GB, free: 51.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/5.176, allocations: 0 / 2.893 GB, free: 51.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00329/5.179, allocations: 1.432 MB / 2.894 GB, free: 50.46 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/5.179, allocations: 5.875 kB / 2.894 GB, free: 50.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/5.179, allocations: 4 kB / 2.894 GB, free: 50.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009683/5.18, allocations: 165.8 kB / 2.895 GB, free: 50.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/5.181, allocations: 271.6 kB / 2.895 GB, free: 50.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/5.184, allocations: 3.071 MB / 2.898 GB, free: 46.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/5.186, allocations: 162.9 kB / 2.898 GB, free: 46.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/5.186, allocations: 55.97 kB / 2.898 GB, free: 46.46 MB / 0.6667 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 () * Number of clocked 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.001097/5.187, allocations: 377.5 kB / 2.898 GB, free: 46.08 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/5.188, allocations: 150.2 kB / 2.899 GB, free: 45.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/5.192, allocations: 1.999 MB / 2.901 GB, free: 43.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/5.192, allocations: 16 kB / 2.901 GB, free: 43.89 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/5.192, allocations: 4 kB / 2.901 GB, free: 43.89 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/5.192, allocations: 7.969 kB / 2.901 GB, free: 43.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/5.195, allocations: 1.517 MB / 2.902 GB, free: 42.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/5.195, allocations: 4 kB / 2.902 GB, free: 42.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/5.196, allocations: 275.6 kB / 2.902 GB, free: 42.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/5.196, allocations: 165.5 kB / 2.902 GB, free: 41.88 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/5.197, allocations: 47.97 kB / 2.903 GB, free: 41.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/5.199, allocations: 3.115 MB / 2.906 GB, free: 38.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/5.199, allocations: 4.062 kB / 2.906 GB, free: 38.43 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/5.203, allocations: 1.634 MB / 2.907 GB, free: 36.77 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008836/5.204, allocations: 482.5 kB / 2.908 GB, free: 36.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/5.204, allocations: 35.94 kB / 2.908 GB, free: 36.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/5.205, allocations: 136 kB / 2.908 GB, free: 36.11 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/5.205, allocations: 117.8 kB / 2.908 GB, free: 36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/5.205, allocations: 63.89 kB / 2.908 GB, free: 35.93 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001249/5.207, allocations: 0.8389 MB / 2.909 GB, free: 35.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/5.207, allocations: 0 / 2.909 GB, free: 35.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001665/5.208, allocations: 0.5184 MB / 2.909 GB, free: 34.57 MB / 0.6667 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) * Number of clocked states: 0 () * 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.002106/5.21, allocations: 1.114 MB / 2.91 GB, free: 33.56 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002747/5.213, allocations: 1.451 MB / 2.912 GB, free: 32.09 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/5.213, allocations: 4 kB / 2.912 GB, free: 32.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/5.215, allocations: 0.9576 MB / 2.913 GB, free: 31.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/5.217, allocations: 0.4896 MB / 2.913 GB, free: 30.61 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/5.224, allocations: 3.76 MB / 2.917 GB, free: 26.82 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/5.225, allocations: 1.278 MB / 2.918 GB, free: 25.52 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001916/5.227, allocations: 0.5033 MB / 2.919 GB, free: 25.01 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/5.227, allocations: 179.3 kB / 2.919 GB, free: 24.83 MB / 0.6667 GB Notification: Performance of SimCode: time 7.41e-07/5.227, allocations: 0 / 2.919 GB, free: 24.83 MB / 0.6667 GB Notification: Performance of Templates: time 0.3865/5.614, allocations: 32.17 MB / 2.95 GB, free: 193.4 MB / 0.6667 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)