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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6761/0.6761, allocations: 117.9 MB / 133.9 MB, free: 9.219 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.0009871/0.000987, allocations: 184 kB / 161.7 MB, free: 13.98 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.556/1.556, allocations: 205.4 MB / 394.8 MB, free: 10.1 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.0007537/0.0007538, allocations: 91.19 kB / 470.1 MB, free: 29.01 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 12 kB / 0.5423 GB, free: 9.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1758, allocations: 74.55 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.6475, allocations: 105.2 MB / 0.7179 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.6477, allocations: 93.55 kB / 0.718 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.6655, allocations: 7.003 MB / 0.7248 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6655, allocations: 0 / 0.7248 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.6655, allocations: 4 kB / 0.7248 GB, free: 25.08 MB / 0.4948 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.0006312/0.6662, allocations: 0.504 MB / 0.7253 GB, free: 24.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6662, allocations: 8.031 kB / 0.7253 GB, free: 24.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.6663, allocations: 29.45 kB / 0.7253 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.6666, allocations: 267.9 kB / 0.7256 GB, free: 24.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.6666, allocations: 16.41 kB / 0.7256 GB, free: 24.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.6667, allocations: 19.06 kB / 0.7256 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.667, allocations: 200 kB / 0.7258 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.667, allocations: 4.828 kB / 0.7258 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.667, allocations: 10.38 kB / 0.7258 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.667, allocations: 4 kB / 0.7258 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.6678, allocations: 0.7325 MB / 0.7265 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.6687, allocations: 0.5721 MB / 0.7271 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.6691, allocations: 300.5 kB / 0.7274 GB, free: 23.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.6692, allocations: 110.1 kB / 0.7275 GB, free: 23.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.6697, allocations: 459.8 kB / 0.7279 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.67, allocations: 171.8 kB / 0.7281 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.67, allocations: 0 / 0.7281 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0005645/0.6706, allocations: 367 kB / 0.7284 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6706, allocations: 82.75 kB / 0.7285 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.6708, allocations: 274.8 kB / 0.7288 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.6709, allocations: 33.14 kB / 0.7288 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.6709, allocations: 117.6 kB / 0.7289 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.671, allocations: 121.6 kB / 0.729 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.671, allocations: 3.625 kB / 0.729 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.6711, allocations: 341.8 kB / 0.7294 GB, free: 21.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.6712, allocations: 76.89 kB / 0.7294 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.6713, allocations: 118 kB / 0.7296 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.6716, allocations: 209.5 kB / 0.7298 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6716, allocations: 0 / 0.7298 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003446/0.6719, allocations: 284.8 kB / 0.73 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.672, allocations: 4 kB / 0.73 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.672, allocations: 1.453 kB / 0.73 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.672, allocations: 0 / 0.73 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.6722, allocations: 63.69 kB / 0.7301 GB, free: 20.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6722, allocations: 4 kB / 0.7301 GB, free: 20.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.6723, allocations: 20.7 kB / 0.7301 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.6723, allocations: 15.95 kB / 0.7301 GB, free: 20.81 MB / 0.4948 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 () * 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.0001079/0.6724, allocations: 166.1 kB / 0.7303 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.6725, allocations: 25.31 kB / 0.7303 GB, free: 20.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.673, allocations: 378.6 kB / 0.7307 GB, free: 20.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.673, allocations: 4 kB / 0.7307 GB, free: 20.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.673, allocations: 3.938 kB / 0.7307 GB, free: 20.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6731, allocations: 5.266 kB / 0.7307 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.6733, allocations: 338.9 kB / 0.731 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6733, allocations: 4 kB / 0.731 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.6735, allocations: 54.59 kB / 0.7311 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6735, allocations: 5.781 kB / 0.7311 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.6735, allocations: 12.72 kB / 0.7311 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6735, allocations: 0 / 0.7311 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6735, allocations: 0 / 0.7311 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.6738, allocations: 330.3 kB / 0.7314 GB, free: 19.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.674, allocations: 148.5 kB / 0.7315 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.674, allocations: 11.77 kB / 0.7316 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.6741, allocations: 8.5 kB / 0.7316 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.6741, allocations: 23.2 kB / 0.7316 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6742, allocations: 12.62 kB / 0.7316 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001575/0.6743, allocations: 212.2 kB / 0.7318 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6743, allocations: 0 / 0.7318 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002965/0.6746, allocations: 87.39 kB / 0.7319 GB, free: 19.44 MB / 0.4948 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) * 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.0007718/0.6754, allocations: 448.2 kB / 0.7323 GB, free: 19.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.6757, allocations: 231.3 kB / 0.7325 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6757, allocations: 0 / 0.7325 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.6759, allocations: 124.5 kB / 0.7326 GB, free: 18.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.6761, allocations: 30.58 kB / 0.7327 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.6768, allocations: 0.5851 MB / 0.7332 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.677, allocations: 0.7521 MB / 0.734 GB, free: 17.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003152/0.6773, allocations: 146.9 kB / 0.7341 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.6774, allocations: 47.06 kB / 0.7342 GB, free: 17.58 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.6774, allocations: 0 / 0.7342 GB, free: 17.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.006029/0.6835, allocations: 2.895 MB / 0.737 GB, free: 15.84 MB / 0.4948 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)