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.7025/0.7025, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.000976/0.000976, allocations: 192.7 kB / 169.7 MB, free: 1.746 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.43/1.43, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.0008088/0.0008088, allocations: 86.42 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.67e-05, allocations: 8 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/0.5597, allocations: 106.2 MB / 0.7319 GB, free: 7.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.56, allocations: 90.25 kB / 0.732 GB, free: 7.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01801/0.578, allocations: 6.771 MB / 0.7386 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5781, allocations: 3.938 kB / 0.7386 GB, free: 1.566 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.5781, allocations: 8 kB / 0.7386 GB, free: 1.559 MB / 490.7 MB 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.0006479/0.5788, allocations: 489.6 kB / 0.7391 GB, free: 1.051 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5788, allocations: 8.031 kB / 0.7391 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.5789, allocations: 31.67 kB / 0.7391 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5793, allocations: 250.9 kB / 0.7393 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.5793, allocations: 11.56 kB / 0.7393 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.5794, allocations: 18.56 kB / 0.7394 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.5797, allocations: 195.5 kB / 0.7395 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.5797, allocations: 3.938 kB / 0.7395 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.5797, allocations: 7.125 kB / 0.7396 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5797, allocations: 4 kB / 0.7396 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.5806, allocations: 0.7376 MB / 0.7403 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.5815, allocations: 0.5711 MB / 0.7408 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.582, allocations: 294.2 kB / 0.7411 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.5821, allocations: 105.3 kB / 0.7412 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.5828, allocations: 468.8 kB / 0.7417 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.5831, allocations: 170.5 kB / 0.7418 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.5832, allocations: 0 / 0.7418 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0004989/0.5837, allocations: 271.9 kB / 0.7421 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.5837, allocations: 81.11 kB / 0.7422 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.584, allocations: 252.9 kB / 0.7424 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.584, allocations: 29.39 kB / 0.7424 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.5841, allocations: 123.9 kB / 0.7425 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5842, allocations: 116.4 kB / 0.7427 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.5843, allocations: 3.5 kB / 0.7427 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5844, allocations: 337.5 kB / 0.743 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.5846, allocations: 78.78 kB / 0.7431 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.5847, allocations: 107.5 kB / 0.7432 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5849, allocations: 100.6 kB / 0.7433 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5849, allocations: 0 / 0.7433 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004365/0.5853, allocations: 277 kB / 0.7435 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5854, allocations: 4 kB / 0.7435 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.5854, allocations: 7.953 kB / 0.7435 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5854, allocations: 0 / 0.7435 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.5856, allocations: 63.47 kB / 0.7436 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5857, allocations: 0 / 0.7436 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.5858, allocations: 19.34 kB / 0.7436 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5858, allocations: 14.8 kB / 0.7436 GB, free: 12.78 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 () * 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.0001053/0.5859, allocations: 123 kB / 0.7437 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.586, allocations: 31.62 kB / 0.7438 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/0.5867, allocations: 383.5 kB / 0.7441 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.5867, allocations: 7.953 kB / 0.7441 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5867, allocations: 3.938 kB / 0.7442 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5867, allocations: 0 / 0.7442 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.587, allocations: 336.8 kB / 0.7445 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5871, allocations: 4 kB / 0.7445 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.5872, allocations: 55.91 kB / 0.7445 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5873, allocations: 4 kB / 0.7445 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.5873, allocations: 11.61 kB / 0.7445 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5873, allocations: 0 / 0.7445 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5873, allocations: 3.953 kB / 0.7445 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.5877, allocations: 316.9 kB / 0.7449 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.5879, allocations: 154.7 kB / 0.745 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.5879, allocations: 10.88 kB / 0.745 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.588, allocations: 11.8 kB / 0.745 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.5881, allocations: 30.73 kB / 0.7451 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.5881, allocations: 11.62 kB / 0.7451 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001832/0.5883, allocations: 214.9 kB / 0.7453 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5883, allocations: 4 kB / 0.7453 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003057/0.5886, allocations: 78.8 kB / 0.7453 GB, free: 11.21 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) * 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.0009546/0.5896, allocations: 397.8 kB / 0.7457 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.59, allocations: 228.2 kB / 0.7459 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.59, allocations: 0 / 0.7459 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.5902, allocations: 132.1 kB / 0.7461 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.5903, allocations: 21.8 kB / 0.7461 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.591, allocations: 403.3 kB / 0.7465 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.5914, allocations: 0.7631 MB / 0.7472 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003223/0.5917, allocations: 150.8 kB / 0.7474 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.5918, allocations: 43.23 kB / 0.7474 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.5918, allocations: 0 / 0.7474 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of Templates: time 0.006091/0.5979, allocations: 2.888 MB / 0.7502 GB, free: 6.453 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)