Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7795/0.7795, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001459/0.001458, allocations: 189 kB / 191.5 MB, free: 5.754 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.353/1.353, allocations: 223.2 MB / 447.7 MB, free: 6.477 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.000901/0.000901, allocations: 100.2 kB / 0.5188 GB, free: 2.824 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 275.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 16 kB / 0.6929 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3614, allocations: 82.78 MB / 0.7737 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.5149, allocations: 113.4 MB / 0.8845 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5152, allocations: 91.81 kB / 0.8846 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02477/0.54, allocations: 9.169 MB / 0.8935 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5401, allocations: 0 / 0.8935 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.495e-05/0.5401, allocations: 4 kB / 0.8935 GB, free: 15.38 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009227/0.541, allocations: 0.5304 MB / 0.8941 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5411, allocations: 15.97 kB / 0.8941 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.5413, allocations: 35.61 kB / 0.8941 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.5418, allocations: 265.7 kB / 0.8944 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.5418, allocations: 23.73 kB / 0.8944 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.5419, allocations: 16 kB / 0.8944 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.5423, allocations: 228.9 kB / 0.8946 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5423, allocations: 0 / 0.8946 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.5423, allocations: 8 kB / 0.8946 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5424, allocations: 7.938 kB / 0.8946 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/0.5433, allocations: 0.7524 MB / 0.8954 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5444, allocations: 0.5982 MB / 0.896 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.5449, allocations: 314.4 kB / 0.8963 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.5449, allocations: 20.25 kB / 0.8963 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.5453, allocations: 179.5 kB / 0.8964 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.5453, allocations: 0 / 0.8964 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35): time 0.0007444/0.546, allocations: 377.4 kB / 0.8968 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.5461, allocations: 136.5 kB / 0.8969 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.5465, allocations: 272.1 kB / 0.8972 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.5466, allocations: 33.7 kB / 0.8972 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.5467, allocations: 132.6 kB / 0.8974 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.5468, allocations: 118.3 kB / 0.8975 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.5468, allocations: 12 kB / 0.8975 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.547, allocations: 330.8 kB / 0.8978 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.5471, allocations: 79.95 kB / 0.8979 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.5473, allocations: 131.2 kB / 0.898 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5475, allocations: 109.7 kB / 0.8981 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5475, allocations: 0 / 0.8981 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004394/0.548, allocations: 276.9 kB / 0.8984 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.548, allocations: 8.625 kB / 0.8984 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.548, allocations: 0 / 0.8984 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.548, allocations: 48 / 0.8984 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.5482, allocations: 67.89 kB / 0.8984 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.945e-05/0.5483, allocations: 8 kB / 0.8984 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.5485, allocations: 27.73 kB / 0.8985 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.5485, allocations: 19.95 kB / 0.8985 GB, free: 10.05 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001729/0.5487, allocations: 164.1 kB / 0.8986 GB, free: 9.879 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.5488, allocations: 23.72 kB / 0.8987 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.5495, allocations: 388.6 kB / 0.899 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5495, allocations: 4 kB / 0.899 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5495, allocations: 0 / 0.899 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5495, allocations: 0 / 0.899 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.5499, allocations: 365 kB / 0.8994 GB, free: 9.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5499, allocations: 3.938 kB / 0.8994 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.5501, allocations: 51.97 kB / 0.8994 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.5501, allocations: 4 kB / 0.8994 GB, free: 9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.5501, allocations: 8 kB / 0.8995 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5502, allocations: 4 kB / 0.8995 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.5502, allocations: 7.938 kB / 0.8995 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.5507, allocations: 330.1 kB / 0.8998 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.5509, allocations: 160.5 kB / 0.8999 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.5509, allocations: 8 kB / 0.8999 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.5511, allocations: 31.98 kB / 0.9 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.5512, allocations: 27.81 kB / 0.9 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.5512, allocations: 16 kB / 0.9 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002243/0.5515, allocations: 220.4 kB / 0.9002 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5515, allocations: 0 / 0.9002 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003513/0.5518, allocations: 79.92 kB / 0.9003 GB, free: 8.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001128/0.553, allocations: 416.7 kB / 0.9007 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.5534, allocations: 223.7 kB / 0.9009 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5534, allocations: 8 kB / 0.9009 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.5536, allocations: 131.8 kB / 0.901 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.5539, allocations: 41.53 kB / 0.9011 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.555, allocations: 0.5955 MB / 0.9017 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.5554, allocations: 0.7658 MB / 0.9024 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003721/0.5558, allocations: 150.8 kB / 0.9026 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.5559, allocations: 47.41 kB / 0.9026 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.5559, allocations: 7.938 kB / 0.9026 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of Templates: time 0.008558/0.5645, allocations: 3.338 MB / 0.9059 GB, free: 2.543 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)