Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7219/0.7219, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009341/0.000934, allocations: 183.1 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.2 MB / 399.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 87.84 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.272e-05, allocations: 5.125 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1659, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.3096, allocations: 105.5 MB / 0.7246 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3098, allocations: 87.94 kB / 0.7247 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.3276, allocations: 6.63 MB / 0.7312 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3277, allocations: 0 / 0.7312 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.3277, allocations: 4 kB / 0.7312 GB, free: 10.71 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007827/0.3285, allocations: 495 kB / 0.7316 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.3285, allocations: 8.031 kB / 0.7316 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3287, allocations: 31.67 kB / 0.7317 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3292, allocations: 262.5 kB / 0.7319 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3292, allocations: 4 kB / 0.7319 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3292, allocations: 12 kB / 0.7319 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009947/0.3302, allocations: 0.7256 MB / 0.7327 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.3306, allocations: 167 kB / 0.7328 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3306, allocations: 8 kB / 0.7328 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3306, allocations: 0 / 0.7328 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3307, allocations: 7.953 kB / 0.7328 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.3318, allocations: 0.5168 MB / 0.7333 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.3323, allocations: 284.1 kB / 0.7336 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3324, allocations: 89.41 kB / 0.7337 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/0.3332, allocations: 469.6 kB / 0.7341 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.3336, allocations: 155.6 kB / 0.7343 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.726e-06/0.3336, allocations: 0 / 0.7343 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001452/0.335, allocations: 364.7 kB / 0.7346 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.3351, allocations: 85.05 kB / 0.7347 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3354, allocations: 242.1 kB / 0.7349 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3354, allocations: 25.7 kB / 0.735 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.3355, allocations: 120.8 kB / 0.7351 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.3357, allocations: 118.3 kB / 0.7352 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.3357, allocations: 4 kB / 0.7352 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3358, allocations: 330.8 kB / 0.7355 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.336, allocations: 71.98 kB / 0.7356 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.3361, allocations: 93.69 kB / 0.7357 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3371, allocations: 196.6 kB / 0.7359 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3371, allocations: 0 / 0.7359 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001209/0.3384, allocations: 356.9 kB / 0.7362 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3384, allocations: 4 kB / 0.7362 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.922e-06/0.3384, allocations: 0 / 0.7362 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3384, allocations: 4 kB / 0.7362 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.3387, allocations: 63.86 kB / 0.7363 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3387, allocations: 7.938 kB / 0.7363 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.3388, allocations: 11.84 kB / 0.7363 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3388, allocations: 11.98 kB / 0.7363 GB, free: 5.133 MB / 0.5105 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.tStart,conTim.tStart) * Number of discrete 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 9.661e-05/0.3389, allocations: 116.9 kB / 0.7364 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.339, allocations: 27.62 kB / 0.7364 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.3404, allocations: 456.7 kB / 0.7369 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3405, allocations: 11.98 kB / 0.7369 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3405, allocations: 3.953 kB / 0.7369 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3405, allocations: 3.984 kB / 0.7369 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.3408, allocations: 289.8 kB / 0.7372 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3409, allocations: 0 / 0.7372 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.341, allocations: 59.91 kB / 0.7372 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3411, allocations: 0 / 0.7372 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.3411, allocations: 11.98 kB / 0.7372 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3411, allocations: 4 kB / 0.7372 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3411, allocations: 0 / 0.7372 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3423, allocations: 398 kB / 0.7376 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3425, allocations: 156.6 kB / 0.7378 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.3425, allocations: 0 / 0.7378 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.3426, allocations: 7.984 kB / 0.7378 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.3427, allocations: 19.97 kB / 0.7378 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3427, allocations: 12 kB / 0.7378 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001823/0.3429, allocations: 212.5 kB / 0.738 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3429, allocations: 0 / 0.738 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003558/0.3433, allocations: 71.92 kB / 0.7381 GB, free: 3.223 MB / 0.5105 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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0008905/0.3442, allocations: 363.5 kB / 0.7384 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.3445, allocations: 207.7 kB / 0.7386 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3446, allocations: 0 / 0.7386 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3447, allocations: 123.8 kB / 0.7387 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.345, allocations: 24.61 kB / 0.7388 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.3458, allocations: 386.4 kB / 0.7391 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3462, allocations: 0.7656 MB / 0.7399 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.3466, allocations: 151.1 kB / 0.74 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.3467, allocations: 43.42 kB / 0.7401 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.3467, allocations: 0 / 0.7401 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of Templates: time 0.3062/0.6529, allocations: 2.731 MB / 0.7427 GB, free: 114.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)